<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-18376</id>
	<title>Nabble - quantlib-dev</title>
	<updated>2009-11-24T00:49:43Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/quantlib-dev-f18376.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/quantlib-dev-f18376.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26492437</id>
	<title>Re: Fwd: QuantLibAddin, Addin/Cpp</title>
	<published>2009-11-24T00:49:43Z</published>
	<updated>2009-11-24T00:49:43Z</updated>
	<author>
		<name>Roland Lichters-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; if I want to expose more functionality to Calc (that is already&lt;br&gt;&amp;gt; exposed to XL), does this mean I have to add &amp;lt;SupportedPlatform&lt;br&gt;&amp;gt; name=&amp;#39;Calc&amp;#39;/&amp;gt; to the desired functions in&lt;br&gt;
&amp;gt; QuantLibAddin/gensrc/metadata/functions/*.xml?&lt;br&gt;&lt;br&gt;&lt;/div&gt;Yes, that would be the very first step.  But it would take a whole lot&lt;br&gt;more work to get the Calc addin to the stage where it supports&lt;br&gt;YieldTermStructures.xls and InterestRateDerivatives.xls.&lt;br&gt;
&lt;br&gt;Setting &amp;lt;SupportedPlatform name=&amp;#39;Calc&amp;#39;/&amp;gt; will tell gensrc to attempt to&lt;br&gt;autogenerate the source code for the relevant function in the Calc&lt;br&gt;addin.  But for many functions, the autogenerated code will not compile,&lt;br&gt;
or will compile and then fail at runtime.  The main things that are&lt;br&gt;missing are conversion functions, plus various other features of&lt;br&gt;ObjectHandler which are further advanced for Excel than for Calc.&lt;br&gt;&lt;/blockquote&gt;

&lt;div&gt;Hi Eric,&lt;/div&gt;
&lt;div&gt;yes, I noticed the limits :-). I have modified calc.py and functions/*.xml &lt;/div&gt;
&lt;div&gt;to produce the basic files/functions in Addins/Calc2, and I am now trying &lt;/div&gt;
&lt;div&gt;to include more functions. It worked for some termstructures and &lt;/div&gt;
&lt;div&gt;instruments etc.,  but indeed I&amp;#39;ll have to look into conversions now. &lt;/div&gt;
&lt;div&gt;Indeed, quite some work ahead. &lt;/div&gt;
&lt;div&gt;Do you consider including Calc2 into the QuantLibAddin-0.9.9 release?&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Roland &lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492437&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-QuantLibAddin%2C-Addin-Cpp-tp26404276p26492437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26487552</id>
	<title>Re: Fwd: QuantLibAddin, Addin/Cpp</title>
	<published>2009-11-23T14:50:38Z</published>
	<updated>2009-11-23T14:50:38Z</updated>
	<author>
		<name>Eric Ehlers-2</name>
	</author>
	<content type="html">Hi Roland,
&lt;br&gt;&lt;br&gt;I only just noticed that we were cc-ing quantlib-dev here :)
&lt;br&gt;&lt;br&gt;&amp;gt; if I want to expose more functionality to Calc (that is already
&lt;br&gt;&amp;gt; exposed to XL), does this mean I have to add &amp;lt;SupportedPlatform
&lt;br&gt;&amp;gt; name='Calc'/&amp;gt; to the desired functions in
&lt;br&gt;&amp;gt; QuantLibAddin/gensrc/metadata/functions/*.xml?
&lt;br&gt;&lt;br&gt;Yes, that would be the very first step. &amp;nbsp;But it would take a whole lot
&lt;br&gt;more work to get the Calc addin to the stage where it supports
&lt;br&gt;YieldTermStructures.xls and InterestRateDerivatives.xls.
&lt;br&gt;&lt;br&gt;Setting &amp;lt;SupportedPlatform name='Calc'/&amp;gt; will tell gensrc to attempt to
&lt;br&gt;autogenerate the source code for the relevant function in the Calc
&lt;br&gt;addin. &amp;nbsp;But for many functions, the autogenerated code will not compile,
&lt;br&gt;or will compile and then fail at runtime. &amp;nbsp;The main things that are
&lt;br&gt;missing are conversion functions, plus various other features of
&lt;br&gt;ObjectHandler which are further advanced for Excel than for Calc.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Eric
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26487552&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-QuantLibAddin%2C-Addin-Cpp-tp26404276p26487552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493227</id>
	<title>Re: x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)</title>
	<published>2009-11-23T12:02:04Z</published>
	<updated>2009-11-23T12:02:04Z</updated>
	<author>
		<name>Craig Miller-7</name>
	</author>
	<content type="html">Hi Nando,
&lt;br&gt;I'm happy to be of some help. &amp;nbsp;I've attached details, but in short:
&lt;br&gt;&lt;br&gt;1. One of the two problems are now fixed in the trunk. &amp;nbsp;The remaining build 
&lt;br&gt;error has to do with the 'Debug x64' config which should have optimization 
&lt;br&gt;disabled (i.e., Configuration Properties | C/C++ | Optimization | 
&lt;br&gt;Optimization: Disabled (/Od) ). &amp;nbsp;To make all the debug configs the same, I 
&lt;br&gt;would recommend setting the 'Inline Function Expansion to Default'.
&lt;br&gt;&lt;br&gt;2. Adding a folder in the solution is done by right clicking on the solution 
&lt;br&gt;and selecting Add | New Solution Folder. &amp;nbsp;I use this approach to organize 
&lt;br&gt;projects in a way similar to their physical layout on the drive. &amp;nbsp;Once the 
&lt;br&gt;folder is create double click on it to rename 'Example' and then Cntr + 
&lt;br&gt;click on each example project (to select) and drag them to the Example 
&lt;br&gt;folder.
&lt;br&gt;&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;While I have your ear, I have a few questions:
&lt;br&gt;Q1. What is the best process for submitting this type of stuff (i.e., bug 
&lt;br&gt;fix suggestions)?
&lt;br&gt;Q2. Is the way I've done it acceptable (i.e., bug report with suggested 
&lt;br&gt;fix)?
&lt;br&gt;Q3. I'm interested in being a QL developer, any suggestions on what steps to 
&lt;br&gt;take in accomplishing this?
&lt;br&gt;&lt;br&gt;BTW, I am in the process of creating 'Quant Portfolio Library (QP-Lib)' 
&lt;br&gt;(&lt;a href=&quot;https://sourceforge.net/projects/qp-lib/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/qp-lib/&lt;/a&gt;) with the idea of complimenting 
&lt;br&gt;QuantLib so becoming a developer on QL would help me minimize my work by not 
&lt;br&gt;trying to duplicate any of the great code that already exists.
&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;cm
&lt;br&gt;&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;attached 09-11-23 QuantLibSvnTrunk_BuildChangeSummary.zip
&lt;br&gt;&amp;nbsp;1. notes and build output before and after new fix 09-11-23 
&lt;br&gt;QuantLibSvnTrunk_BuildChangeSummary.rtf
&lt;br&gt;&amp;nbsp;2. QuantLib_vc9.vcproj file with fix for 'Debug x64' optimization disabled
&lt;br&gt;&amp;nbsp;3. QuanlLib_vc9.sln file with Examples folder added and projects organized 
&lt;br&gt;under it
&lt;br&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Ferdinando Ametrano&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493227&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nando@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;Craig Miller&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493227&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;craigwmiller@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493227&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;quantlib-dev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Monday, November 23, 2009 7:58 AM
&lt;br&gt;Subject: Re: [Quantlib-dev] x64 build fix for VS2008 solution project 
&lt;br&gt;(QuantLib 0.9.9 w/ Boost 1.41)
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Craig
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sat, Nov 21, 2009 at 3:01 AM, Craig Miller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493227&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;craigwmiller@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I would like to share an update to QuantLib svn.
&lt;br&gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt; Summary
&lt;br&gt;&amp;gt;&amp;gt; 1. Fix x64 build errors
&lt;br&gt;&amp;gt;&amp;gt; 2. create Examples folder in solution Explorer which now holds all the
&lt;br&gt;&amp;gt;&amp;gt; example projects
&lt;br&gt;&amp;gt;&amp;gt; 3. notes and build output
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I fixed &amp;quot;Disable Language Extensions&amp;quot; back to NO, disabled
&lt;br&gt;&amp;gt; optimization for Debug configurations, and removed most compilation
&lt;br&gt;&amp;gt; warnings. Could you check on the _trunk_ if everything is OK ?
&lt;br&gt;&amp;gt; examples included please.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Would you mind also reporting any compilation warning ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does this close the issue you posted on the bug tracker ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; BTW how do you create an Examples folder in the solution? I must be
&lt;br&gt;&amp;gt; dummy, but I couldn't find a way...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thank you for your help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ciao -- Nando 
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493227&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;09-11-23 QuantLibSvnTrunk_BuildChangeSummary.zip&lt;/strong&gt; (414K) &lt;a href=&quot;http://old.nabble.com/attachment/26493227/0/09-11-23%20QuantLibSvnTrunk_BuildChangeSummary.zip&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/x64-build-fix-for-VS2008-solution-project-%28QuantLib-0.9.9-w--Boost-1.41%29-tp26454890p26493227.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26482790</id>
	<title>Re: [QuantLib-svn] SF.net SVN: quantlib:[16775] trunk/QuantLib/ql/experimental/amortizingbonds /amortizingfixedratebond.cpp</title>
	<published>2009-11-23T09:44:23Z</published>
	<updated>2009-11-23T09:44:23Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">Hi Simon
&lt;br&gt;&lt;br&gt;does it make sense that sinkingRedemptions was not used (see my commit below) ?
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 5:18 PM, &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26482790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nando@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Revision: 16775
&lt;br&gt;&amp;gt;          &lt;a href=&quot;http://quantlib.svn.sourceforge.net/quantlib/?rev=16775&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://quantlib.svn.sourceforge.net/quantlib/?rev=16775&amp;view=rev&lt;/a&gt;&lt;br&gt;&amp;gt; Author:   nando
&lt;br&gt;&amp;gt; Date:     2009-11-23 16:18:36 +0000 (Mon, 23 Nov 2009)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Log Message:
&lt;br&gt;&amp;gt; -----------
&lt;br&gt;&amp;gt; in anonymous namespace
&lt;br&gt;&amp;gt; - removed unreferenced formal parameter startDate
&lt;br&gt;&amp;gt; - renamed function to start with lower capital letter
&lt;br&gt;&amp;gt; - commented out unused function sinkingRedemptions
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Modified Paths:
&lt;br&gt;&amp;gt; --------------
&lt;br&gt;&amp;gt;    trunk/QuantLib/ql/experimental/amortizingbonds/amortizingfixedratebond.cpp
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Modified: trunk/QuantLib/ql/experimental/amortizingbonds/amortizingfixedratebond.cpp
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; --- trunk/QuantLib/ql/experimental/amortizingbonds/amortizingfixedratebond.cpp  2009-11-23 14:10:27 UTC (rev 16774)
&lt;br&gt;&amp;gt; +++ trunk/QuantLib/ql/experimental/amortizingbonds/amortizingfixedratebond.cpp  2009-11-23 16:18:36 UTC (rev 16775)
&lt;br&gt;&amp;gt; @@ -104,7 +104,7 @@
&lt;br&gt;&amp;gt;             return false;
&lt;br&gt;&amp;gt;         }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -        Schedule SinkingSchedule(const Date&amp; startDate,
&lt;br&gt;&amp;gt; +        Schedule sinkingSchedule(const Date&amp; startDate,
&lt;br&gt;&amp;gt;                                  const Period&amp; maturityTenor,
&lt;br&gt;&amp;gt;                                  const Frequency&amp; sinkingFrequency,
&lt;br&gt;&amp;gt;                                  const Calendar&amp; paymentCalendar) {
&lt;br&gt;&amp;gt; @@ -116,8 +116,7 @@
&lt;br&gt;&amp;gt;             return retVal;
&lt;br&gt;&amp;gt;         }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -        std::vector&amp;lt;Real&amp;gt; SinkingNotionals(const Date&amp; startDate,
&lt;br&gt;&amp;gt; -                                           const Period&amp; maturityTenor,
&lt;br&gt;&amp;gt; +        std::vector&amp;lt;Real&amp;gt; sinkingNotionals(const Period&amp; maturityTenor,
&lt;br&gt;&amp;gt;                                            const Frequency&amp; sinkingFrequency,
&lt;br&gt;&amp;gt;                                            Rate couponRate,
&lt;br&gt;&amp;gt;                                            Real initialNotional) {
&lt;br&gt;&amp;gt; @@ -141,24 +140,23 @@
&lt;br&gt;&amp;gt;             return notionals;
&lt;br&gt;&amp;gt;         }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -        std::vector&amp;lt;Real&amp;gt; SinkingRedemptions(const Date&amp; startDate,
&lt;br&gt;&amp;gt; -                                             const Period&amp; maturityTenor,
&lt;br&gt;&amp;gt; -                                             const Frequency&amp; sinkingFrequency,
&lt;br&gt;&amp;gt; -                                             Rate couponRate,
&lt;br&gt;&amp;gt; -                                             Real initialNotional) {
&lt;br&gt;&amp;gt; +        //std::vector&amp;lt;Real&amp;gt; sinkingRedemptions(const Period&amp; maturityTenor,
&lt;br&gt;&amp;gt; +        //                                     const Frequency&amp; sinkingFrequency,
&lt;br&gt;&amp;gt; +        //                                     Rate couponRate,
&lt;br&gt;&amp;gt; +        //                                     Real initialNotional) {
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -            std::vector&amp;lt;Real&amp;gt; notionals =
&lt;br&gt;&amp;gt; -                SinkingNotionals(startDate, maturityTenor, sinkingFrequency,
&lt;br&gt;&amp;gt; -                                 couponRate, initialNotional);
&lt;br&gt;&amp;gt; -            Size nPeriods = notionals.size()-1;
&lt;br&gt;&amp;gt; -            std::vector&amp;lt;Real&amp;gt; redemptions(nPeriods);
&lt;br&gt;&amp;gt; +        //    std::vector&amp;lt;Real&amp;gt; notionals =
&lt;br&gt;&amp;gt; +        //        sinkingNotionals(maturityTenor, sinkingFrequency,
&lt;br&gt;&amp;gt; +        //                         couponRate, initialNotional);
&lt;br&gt;&amp;gt; +        //    Size nPeriods = notionals.size()-1;
&lt;br&gt;&amp;gt; +        //    std::vector&amp;lt;Real&amp;gt; redemptions(nPeriods);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -            for(Size i = 0; i &amp;lt; nPeriods; ++i) {
&lt;br&gt;&amp;gt; -                redemptions[i] =
&lt;br&gt;&amp;gt; -                    (notionals[i] - notionals[i+1]) / initialNotional * 100;
&lt;br&gt;&amp;gt; -            }
&lt;br&gt;&amp;gt; -            return redemptions;
&lt;br&gt;&amp;gt; -        }
&lt;br&gt;&amp;gt; +        //    for(Size i = 0; i &amp;lt; nPeriods; ++i) {
&lt;br&gt;&amp;gt; +        //        redemptions[i] =
&lt;br&gt;&amp;gt; +        //            (notionals[i] - notionals[i+1]) / initialNotional * 100;
&lt;br&gt;&amp;gt; +        //    }
&lt;br&gt;&amp;gt; +        //    return redemptions;
&lt;br&gt;&amp;gt; +        //}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; @@ -181,9 +179,9 @@
&lt;br&gt;&amp;gt;         maturityDate_ = startDate + bondTenor;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;         cashflows_ =
&lt;br&gt;&amp;gt; -            FixedRateLeg(SinkingSchedule(startDate, bondTenor,
&lt;br&gt;&amp;gt; +            FixedRateLeg(sinkingSchedule(startDate, bondTenor,
&lt;br&gt;&amp;gt;                                          sinkingFrequency, calendar))
&lt;br&gt;&amp;gt; -            .withNotionals(SinkingNotionals(startDate, bondTenor,
&lt;br&gt;&amp;gt; +            .withNotionals(sinkingNotionals(bondTenor,
&lt;br&gt;&amp;gt;                                             sinkingFrequency, coupon,
&lt;br&gt;&amp;gt;                                             initialFaceAmount))
&lt;br&gt;&amp;gt;             .withCouponRates(coupon, accrualDayCounter)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; QuantLib-cvs mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26482790&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-cvs@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-cvs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-cvs&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26482790&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--QuantLib-svn--SF.net-SVN%3A-quantlib%3A-16775--trunk-QuantLib-ql-experimental-amortizingbonds--amortizingfixedratebond.cpp-tp26482790p26482790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479549</id>
	<title>Re: x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)</title>
	<published>2009-11-23T06:58:11Z</published>
	<updated>2009-11-23T06:58:11Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">Hi Craig
&lt;br&gt;&lt;br&gt;On Sat, Nov 21, 2009 at 3:01 AM, Craig Miller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479549&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;craigwmiller@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I would like to share an update to QuantLib svn.
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; 1. Fix x64 build errors
&lt;br&gt;&amp;gt; 2. create Examples folder in solution Explorer which now holds all the
&lt;br&gt;&amp;gt; example projects
&lt;br&gt;&amp;gt; 3. notes and build output
&lt;br&gt;&lt;br&gt;I fixed &amp;quot;Disable Language Extensions&amp;quot; back to NO, disabled
&lt;br&gt;optimization for Debug configurations, and removed most compilation
&lt;br&gt;warnings. Could you check on the _trunk_ if everything is OK ?
&lt;br&gt;examples included please.
&lt;br&gt;&lt;br&gt;Would you mind also reporting any compilation warning ?
&lt;br&gt;&lt;br&gt;Does this close the issue you posted on the bug tracker ?
&lt;br&gt;&lt;br&gt;BTW how do you create an Examples folder in the solution? I must be
&lt;br&gt;dummy, but I couldn't find a way...
&lt;br&gt;&lt;br&gt;thank you for your help
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479549&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/x64-build-fix-for-VS2008-solution-project-%28QuantLib-0.9.9-w--Boost-1.41%29-tp26454890p26479549.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479300</id>
	<title>Re: [QuantLib-svn] SF.net SVN: quantlib:[16773] trunk/QuantLib</title>
	<published>2009-11-23T06:42:29Z</published>
	<updated>2009-11-23T06:42:29Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 2:46 PM, Luigi Ballabio
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479300&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Mon, 2009-11-23 at 12:17 +0000, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479300&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nando@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Revision: 16773
&lt;br&gt;&amp;gt;&amp;gt;           &lt;a href=&quot;http://quantlib.svn.sourceforge.net/quantlib/?rev=16773&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://quantlib.svn.sourceforge.net/quantlib/?rev=16773&amp;view=rev&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Author:   nando
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A couple of quick questions:
&lt;br&gt;&amp;gt; 1) does this close the two issues posted by Craig on the bug tracker?
&lt;br&gt;&lt;br&gt;I'm going to ask Craig, as I don't have access to VC9 x64
&lt;br&gt;&lt;br&gt;&amp;gt; 2) can I backport it to the 1.0 branch?
&lt;br&gt;not yet, there might be a couple more fixes
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479300&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--QuantLib-svn--SF.net-SVN%3A-quantlib%3A-16773--trunk-QuantLib-tp26478839p26479300.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26478839</id>
	<title>Re: [QuantLib-svn] SF.net SVN: quantlib:[16773] trunk/QuantLib</title>
	<published>2009-11-23T05:46:33Z</published>
	<updated>2009-11-23T05:46:33Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Mon, 2009-11-23 at 12:17 +0000, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26478839&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nando@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Revision: 16773
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://quantlib.svn.sourceforge.net/quantlib/?rev=16773&amp;view=rev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://quantlib.svn.sourceforge.net/quantlib/?rev=16773&amp;view=rev&lt;/a&gt;&lt;br&gt;&amp;gt; Author: &amp;nbsp; nando
&lt;br&gt;&amp;gt; Date: &amp;nbsp; &amp;nbsp; 2009-11-23 12:17:58 +0000 (Mon, 23 Nov 2009)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Log Message:
&lt;br&gt;&amp;gt; -----------
&lt;br&gt;&amp;gt; - removed WIN32, added x64 preprocessor defines in all x64 configurations
&lt;br&gt;&amp;gt; - switched back &amp;quot;Disable Language Extension&amp;quot; to NO in QuantLib x64 configurations
&lt;br&gt;&amp;gt; - removed FileConfigutaion element in all Example projects
&lt;br&gt;&amp;gt; thanks to Craig Miller
&lt;/div&gt;&lt;br&gt;A couple of quick questions:
&lt;br&gt;1) does this close the two issues posted by Craig on the bug tracker?
&lt;br&gt;2) can I backport it to the 1.0 branch?
&lt;br&gt;&lt;br&gt;Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Of course, if people could just act consistently, they could keep 
&lt;br&gt;their desks clean, avoid cavities, lose weight, give up smoking, 
&lt;br&gt;play a musical instrument, and possibly even produce software on 
&lt;br&gt;a regular and timely basis. 
&lt;br&gt;-- Alistair Cockburn 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26478839&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--QuantLib-svn--SF.net-SVN%3A-quantlib%3A-16773--trunk-QuantLib-tp26478839p26478839.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474462</id>
	<title>[ quantlib-Bugs-2902238 ] test-suite fails debug static x64 build - Fix provided</title>
	<published>2009-11-22T17:29:59Z</published>
	<updated>2009-11-22T17:29:59Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2902238, was opened at 2009-11-22 18:29
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by c-miller
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902238&amp;group_id=12740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902238&amp;group_id=12740&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Craig Miller (c-miller)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: test-suite fails debug static x64 build - Fix provided
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Code: QuantLib 0.9.9 svn tips
&lt;br&gt;Configuration: Debug (static runtime) x64
&lt;br&gt;&amp;nbsp; testsuite - 55 error(s), 5 warning(s)
&lt;br&gt;&amp;nbsp; Typical Error: error C2514: 'QuantLib::Null&amp;lt;Type&amp;gt;' : class has no constructors
&lt;br&gt;Problem: missing x64 preprocessor definition
&lt;br&gt;Fix: add x64 preprocessor definition
&lt;br&gt;&amp;nbsp; &amp;nbsp;(i.e., open configuration properties and add x64 definition)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;c-miller
&lt;br&gt;&lt;br&gt;Note: unresolved runtime test-suite error
&lt;br&gt;QuantLib::detail::quantlib_test_case(&amp;CreditDefaultSwapTest::testImpliedHazardRate)&amp;quot;: std::exception: negative time (-0.00273973) given
&lt;br&gt;c:\devwebcode\quant\quantlib\quantlibsvntrunk\quantlib\test-suite\utilities.hpp(78): last checkpoint
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902238&amp;group_id=12740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902238&amp;group_id=12740&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474462&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--quantlib-Bugs-2902238---test-suite-fails-debug-static-x64-build---Fix-provided-tp26474462p26474462.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474468</id>
	<title>[ quantlib-Bugs-2902185 ] date schedule is incorrect with EndOfMonth=true</title>
	<published>2009-11-22T14:07:00Z</published>
	<updated>2009-11-22T14:07:00Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2902185, was opened at 2009-11-22 17:06
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by blitvin
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902185&amp;group_id=12740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902185&amp;group_id=12740&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: boris l (blitvin)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: date schedule is incorrect with EndOfMonth=true
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;When date schedule is generated with Convention=Unadjusted and EndOfMonth=TRUE it incorrectly handles end of months. Please see attached spreadsheet as example. It also inocrrectly handles EOM with other conventions (MP,MF). I can be reached at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;boris.litvin@...&lt;/a&gt;. Thanks a lot - Boris.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902185&amp;group_id=12740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2902185&amp;group_id=12740&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474468&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--quantlib-Bugs-2902185---date-schedule-is-incorrect-with-EndOfMonth%3Dtrue-tp26474468p26474468.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467170</id>
	<title>Fwd: QuantLibAddin, Addin/Cpp</title>
	<published>2009-11-22T09:11:00Z</published>
	<updated>2009-11-22T09:11:00Z</updated>
	<author>
		<name>Roland Lichters-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;im&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid&quot;&gt;&lt;br&gt;The holy grail would be to get the Calc addin into a state where it&lt;br&gt;
could seamlessly load the flagship example QLXL workbooks...&lt;br&gt;
&lt;br&gt;QuantLibXL/Workbooks/StandaloneExamples/YieldTermStructures.xls&lt;br&gt;QuantLibXL/Workbooks/StandaloneExamples/InterestRateDerivatives.xls&lt;br&gt;&lt;br&gt;...but that would take a lot of work.&lt;br&gt;&lt;/blockquote&gt;
&lt;/div&gt;&lt;div&gt;Ok, I&amp;#39;m tempted. But doesn&amp;#39;t it make more sense to look at gensrc for Calc now rather than putting the code together manually?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Hi Eric,&lt;/div&gt;&lt;div&gt;I made small changes to gensrc/gensrc/addins/calc.py (attached) just to make it run and produce output files again. Next would be adjusting the output to the &amp;quot;new&amp;quot; format.. &lt;/div&gt;&lt;div&gt;But apart from this step- if I want to expose more functionality to Calc (that is already exposed to XL), does this mean I have to add &amp;lt;SupportedPlatform name=&amp;#39;Calc&amp;#39;/&amp;gt; to the desired functions in QuantLibAddin/gensrc/metadata/functions/*.xml? This seems to be it at first glance.&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;&lt;div&gt;Roland&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467170&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;calc.py&lt;/strong&gt; (14K) &lt;a href=&quot;http://old.nabble.com/attachment/26467170/0/calc.py&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-QuantLibAddin%2C-Addin-Cpp-tp26404276p26467170.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454887</id>
	<title>[ quantlib-Bugs-2901554 ] Fw: x64 build fix for VS2008 solution project (QuantLib 0.9.</title>
	<published>2009-11-20T18:12:00Z</published>
	<updated>2009-11-20T18:12:00Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Bugs item #2901554, was opened at 2009-11-20 19:12
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by c-miller
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2901554&amp;group_id=12740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2901554&amp;group_id=12740&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Craig Miller (c-miller)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Fw: x64 build fix for VS2008 solution project (QuantLib 0.9.
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: Craig Miller 
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454887&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;quantlib-dev@...&lt;/a&gt; 
&lt;br&gt;Sent: Friday, November 20, 2009 7:01 PM
&lt;br&gt;Subject: x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)
&lt;br&gt;&lt;br&gt;&lt;br&gt;I would like to share an update to QuantLib svn. &amp;nbsp;The attached 09-11-02 QLSvnTrunk_BuildChangeSummary.zip includes:
&lt;br&gt;&lt;br&gt;1. QuantLib_vc9.vcproj
&lt;br&gt;2. QuantLib_vc9.sln
&lt;br&gt;3. 09-11-20 QuantLibSvnTrunk_BuildChangeSummary.rtf
&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;1. Fix x64 build errors
&lt;br&gt;2. create Examples folder in solution Explorer which now holds all the example projects
&lt;br&gt;3. notes and build output
&lt;br&gt;&lt;br&gt;Note
&lt;br&gt;I typically use a batch build of all configurations so my Boost path is set appropriately for x86 vs. x64 libraries to link (see attached notes for details).
&lt;br&gt;&lt;br&gt;Craig Miller
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454887&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;craigwmiller@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2901554&amp;group_id=12740&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=112740&amp;aid=2901554&amp;group_id=12740&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454887&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/--quantlib-Bugs-2901554---Fw%3A-x64-build-fix-for-VS2008-solution-project-%28QuantLib-0.9.-tp26454887p26454887.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454890</id>
	<title>x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)</title>
	<published>2009-11-20T18:01:27Z</published>
	<updated>2009-11-20T18:01:27Z</updated>
	<author>
		<name>Craig Miller-7</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META content=&quot;text/html; charset=iso-8859-1&quot; http-equiv=Content-Type&gt;
&lt;META name=GENERATOR content=&quot;MSHTML 8.00.6001.18852&quot;&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;I would like to share an update to QuantLib 
svn.&amp;nbsp; The attached &lt;STRONG&gt;&lt;FONT size=3&gt;09-11-02 
QLSvnTrunk_BuildChangeSummary.zip&lt;/FONT&gt;&lt;/STRONG&gt; includes:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;1. QuantLib_vc9.vcproj&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;2. QuantLib_vc9.sln&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;3. 09-11-20 
QuantLibSvnTrunk_BuildChangeSummary.rtf&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;1. Fix x64 build errors&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;2. create Examples folder in solution Explorer 
which now holds all the example projects&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;3. notes and build output&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;I typically use a batch build of all configurations 
so my Boost path is set appropriately for x86 vs. x64 libraries to link (see 
attached notes for details).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;Craig Miller&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454890&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;craigwmiller@...&lt;/a&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size=2 face=Arial&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26454890&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;09-11-02 QLSvnTrunk_BuildChangeSummary.zip&lt;/strong&gt; (763K) &lt;a href=&quot;http://old.nabble.com/attachment/26454890/0/09-11-02%20QLSvnTrunk_BuildChangeSummary.zip&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/x64-build-fix-for-VS2008-solution-project-%28QuantLib-0.9.9-w--Boost-1.41%29-tp26454890p26454890.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26447866</id>
	<title>boostify QL</title>
	<published>2009-11-20T10:07:41Z</published>
	<updated>2009-11-20T10:07:41Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">On Fri, Nov 20, 2009 at 8:15 AM, Nicolai Lassesen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447866&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nlassesen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I would be happy to help boostify QL. How would you go about doing it? Use the
&lt;br&gt;&amp;gt; Boost date class and give up Quantlib date?
&lt;br&gt;&lt;br&gt;1) replace as much QuantLib:Date implementation as possible using
&lt;br&gt;Boost, preserving backward compatibility and Excel date number
&lt;br&gt;compatibility
&lt;br&gt;2) extend discrete (integer) Date to continuous (decimal) Date, again
&lt;br&gt;preserving backward compatibility and Excel date number compatibility
&lt;br&gt;3) finally if the QuantLib wrapper layer is thin enough support me in
&lt;br&gt;lobbying for getting rid of QuantLib::Date in a backward incompatible
&lt;br&gt;QuantLib 2.0 &amp;nbsp; :-)
&lt;br&gt;&lt;br&gt;Similar approaches could be used for math (especially distributions),
&lt;br&gt;random numbers, and any other area where Boost and QuantLib overlap.
&lt;br&gt;&lt;br&gt;The black-belt developer might even try to replace QuantLib
&lt;br&gt;Observer/Observable with Boost signals/slots, and maybe replace the
&lt;br&gt;other patterns with Loki
&lt;br&gt;&lt;br&gt;Rest assured we'll pay due credit even if you just remove code
&lt;br&gt;resulting in few source files with your name in it :-)
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447866&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/boostify-QL-tp26447866p26447866.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26447445</id>
	<title>Issues about QuantLibAddin/XL release</title>
	<published>2009-11-20T09:43:40Z</published>
	<updated>2009-11-20T09:43:40Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">Hi Eric and Plamen
&lt;br&gt;&lt;br&gt;few issues about QuantLibAddin/XL release (I'm CCing ql-dev)
&lt;br&gt;&lt;br&gt;1) R000909-branch\QuantLibXL\Workbooks\Math\Interpolation.xls is
&lt;br&gt;broken because some time ago I've changed interpolation signature from
&lt;br&gt;vector&amp;lt;Real&amp;gt; to vector&amp;lt;Quote&amp;gt;.
&lt;br&gt;This is a quite relevant improvement because it allows to have
&lt;br&gt;dynamically changing interpolants without having to recreate it
&lt;br&gt;(hopefully one day Luigi might agree to move the implementation from
&lt;br&gt;QLA to QL)
&lt;br&gt;Unfortunately there is not coercion from string of comma separated
&lt;br&gt;numbers to vector&amp;lt;Quote&amp;gt;, equivalent to the one available for
&lt;br&gt;vector&amp;lt;Real&amp;gt;.
&lt;br&gt;Could this coercion be coded before 0.9.9 release ?
&lt;br&gt;&lt;br&gt;2) the only major problem I have with the current QLXL is the compile
&lt;br&gt;time definition of enumerated type/class aliases (e.g. act/360,
&lt;br&gt;actual/360, etc). This makes difficult the quick reception of other
&lt;br&gt;systems (Bloomberg, Reuters, Murex. etc) names. Initially I hoped for
&lt;br&gt;an xml run-time definition of aliases, but lately I've been thinking
&lt;br&gt;about special simple objects called Alias which would be created as
&lt;br&gt;qlAlias(foo, bar), bar being an object of some given class MyClass.
&lt;br&gt;Then when foo is used as input it is just replaced by bar before being
&lt;br&gt;processed by coercion, etc
&lt;br&gt;Is this feasible?
&lt;br&gt;&lt;br&gt;3) the other minor issue I have with the current QLXL is that when
&lt;br&gt;returning the name of anonymous object (as in RatehelperSelection) an
&lt;br&gt;empty string is returned, instead of obj_012ab
&lt;br&gt;&lt;br&gt;4) you might have noticed that I've added
&lt;br&gt;R000909-branch\QuantLibXL\framework\QuantLibXL.launch.xml to quickly
&lt;br&gt;parametrize xlls to be loaded and actions to be performed at startup.
&lt;br&gt;This would be very effective for our release process if the VBA code
&lt;br&gt;would handle relative path too. I've been unable to do this VBA
&lt;br&gt;change.
&lt;br&gt;If it is feasible and quick it would be much better than maintaining
&lt;br&gt;hardcoded defaults in the vba code
&lt;br&gt;&lt;br&gt;5) are you willing to invest some time in Launcher and VBA framework
&lt;br&gt;before 1.0 ?
&lt;br&gt;I have some ideas about a better and simpler portable
&lt;br&gt;Luncher/startup-process, but I'm not comfortable yet working on my own
&lt;br&gt;when it comes to xml and c#.
&lt;br&gt;It would also involve removing all framework code from QuantLibXL.xla
&lt;br&gt;to a new framework.xla, leaving in QuantLibXL.xla only the start-up
&lt;br&gt;process and generic menus
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447445&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issues-about-QuantLibAddin-XL-release-tp26447445p26447445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26446356</id>
	<title>certificate for digital signature of QuantLiXL.xla</title>
	<published>2009-11-20T08:34:23Z</published>
	<updated>2009-11-20T08:34:23Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">Hi all
&lt;br&gt;&lt;br&gt;I have to dismiss the workstation where I have the test certificate
&lt;br&gt;I've used in the last years to sign QuantLibXL.xla
&lt;br&gt;Since it was a test certificate I won't be able to move it to my new
&lt;br&gt;workstation, which is quite unfortunate since different (test)
&lt;br&gt;certificates would be used for the 0.9.9 and 1.0 releases.
&lt;br&gt;&lt;br&gt;I know one can buy a certificate from a certification authority, but I
&lt;br&gt;would prefer to save money. Any suggestion ?
&lt;br&gt;Is there a certification authority willing to provide a free
&lt;br&gt;certificate to an open-source no-profit organization as QuantLib ?
&lt;br&gt;If not I will just generate a new test certificate on my new
&lt;br&gt;workstation and live happy ever after... for the next few years at
&lt;br&gt;least
&lt;br&gt;&lt;br&gt;thank you in advance
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;RSS feed: &lt;a href=&quot;http://www.google.com/reader/shared/ferdinando.ametrano&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/reader/shared/ferdinando.ametrano&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26446356&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/certificate-for-digital-signature-of-QuantLiXL.xla-tp26446356p26446356.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444087</id>
	<title>Re: Question to the Leap function in the Date class</title>
	<published>2009-11-19T23:15:29Z</published>
	<updated>2009-11-19T23:15:29Z</updated>
	<author>
		<name>Nicolai Lassesen</name>
	</author>
	<content type="html">&amp;gt; I agree. I didn't notice the (auto-)linking.
&lt;br&gt;&amp;gt; Actually I jumped to this modification in the hope to trigger further
&lt;br&gt;&amp;gt; boostification, but this is another issue and would require a stronger
&lt;br&gt;&amp;gt; determination
&lt;br&gt;&lt;br&gt;I would be happy to help boostify QL. How would you go about doing it? Use the 
&lt;br&gt;Boost date class and give up Quantlib date?
&lt;br&gt;&lt;br&gt;Br,
&lt;br&gt;Nicolai
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26444087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-to-the-Leap-function-in-the-Date-class-tp25988207p26444087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26430066</id>
	<title>Re: need help for QuantLib VC9 x64 support</title>
	<published>2009-11-19T09:01:27Z</published>
	<updated>2009-11-19T09:01:27Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Thu, 2009-11-19 at 17:25 +0100, Ferdinando Ametrano wrote:
&lt;br&gt;&amp;gt; I've cleaned up QuantLib VC9 solution and projects for x64 support.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unfortunately I don't have access to x64 so I need confirmation that I
&lt;br&gt;&amp;gt; got everything right.
&lt;br&gt;&lt;br&gt;Let me know when it's ok, so I can backport it to the 1.0 branch.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;feature, n: 
&lt;br&gt;A surprising property of a program. Occasionally documented. 
&lt;br&gt;To call a property a feature sometimes means the author did not 
&lt;br&gt;consider that case, and the program makes an unexpected, though 
&lt;br&gt;not necessarily wrong response. See BUG. &amp;quot;That's not a bug, 
&lt;br&gt;it's a feature!&amp;quot; A bug can be changed to a feature by 
&lt;br&gt;documenting it. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26430066&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/need-help-for-QuantLib-VC9-x64-support-tp26429360p26430066.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26429360</id>
	<title>need help for QuantLib VC9 x64 support</title>
	<published>2009-11-19T08:25:12Z</published>
	<updated>2009-11-19T08:25:12Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Hi all&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;I&amp;#39;ve cleaned up QuantLib VC9 solution and projects for x64 support.&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Now all eight configurations should be available:&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Release | win32&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Release | x64&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Debug | win32&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Debug | x64&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Release (static runtime) | win32&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Release (static runtime) | x64&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Debug (static runtime) | win32&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;Debug (static runtime) | x64&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;and each configuration should build and link without errors the following fifteen projects:&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;QuantLib&lt;br&gt;testsuite&lt;br&gt;Swap&lt;br&gt;EquityOption&lt;br&gt;ConvertibleBonds&lt;br&gt;FRA&lt;br&gt;Repo&lt;br&gt;Replication&lt;br&gt;BermudanSwaption&lt;br&gt;DiscreteHedging&lt;br&gt;

FittedBondCurve&lt;br&gt;CallableBonds&lt;br&gt;CDS&lt;br&gt;Bonds&lt;br&gt;MarketModels&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;unfortunately I don&amp;#39;t have access to x64 so I need confirmation that I got everything right.&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;ciao -- Nando&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;PS I&amp;#39;ve also enabled /MP for multi processor multi core compilation&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26429360&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/need-help-for-QuantLib-VC9-x64-support-tp26429360p26429360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26425582</id>
	<title>Re: QuantLibAddin, Addin/Cpp</title>
	<published>2009-11-19T04:44:07Z</published>
	<updated>2009-11-19T04:44:07Z</updated>
	<author>
		<name>Roland Lichters-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;How would you feel about putting together a new example workbook that we&lt;br&gt;could use for a new screenshot on &lt;a href=&quot;http://www.quantlibaddin.org/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.quantlibaddin.org&lt;/a&gt; - ideally&lt;br&gt;
something that shows off the business functionality as much as possible,&lt;br&gt;and shows the latest version numbers for Calc + QL, using the colors&lt;br&gt;from the website - ?&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;Hi Eric,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;thanks for the encouraging words ;-). &lt;/div&gt;
&lt;div&gt;In fact it did not take much yesterday night to get the Option.ods up again. I organised the code such that it is similar to your original files in QuantLibAddin/Addins/Calc and I reused most of it with tiny modifications. I will commit it to the 0.9.9 branch tonight or tomorrow, QuantLibAddin/Addins/Calc2 and QuantLibAddin/Clients/Calc2, as you suggested.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I am really wondering now which change prevented compilation/deployment in the first place. I cannot tell because I started from scratch with the simple wiki examples and added your code step by step.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid&quot;&gt;&lt;br&gt;The holy grail would be to get the Calc addin into a state where it&lt;br&gt;could seamlessly load the flagship example QLXL workbooks...&lt;br&gt;
&lt;br&gt;QuantLibXL/Workbooks/StandaloneExamples/YieldTermStructures.xls&lt;br&gt;QuantLibXL/Workbooks/StandaloneExamples/InterestRateDerivatives.xls&lt;br&gt;&lt;br&gt;...but that would take a lot of work.&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt;Ok, I&amp;#39;m tempted. But doesn&amp;#39;t it make more sense to look at gensrc for Calc now rather than putting the code together manually?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Best regards,&lt;/div&gt;
&lt;div&gt;Roland&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26425582&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-QuantLibAddin%2C-Addin-Cpp-tp26404276p26425582.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26411057</id>
	<title>Re: Question to the Leap function in the Date class</title>
	<published>2009-11-18T08:30:17Z</published>
	<updated>2009-11-18T08:30:17Z</updated>
	<author>
		<name>Ferdinando Ametrano</name>
	</author>
	<content type="html">&amp;gt;        with this change, one need to link the binary Boost.Date library with
&lt;br&gt;&amp;gt; QuantLib (whereas before this, the library only needed the Boost
&lt;br&gt;&amp;gt; headers.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I might be fine with this if we used Boost.Date to implement most of our
&lt;br&gt;&amp;gt; Date class, but I wouldn't introduce the dependency just for checking
&lt;br&gt;&amp;gt; leap years beyond 2200...
&lt;br&gt;&lt;br&gt;I agree. I didn't notice the (auto-)linking.
&lt;br&gt;Actually I jumped to this modification in the hope to trigger further
&lt;br&gt;boostification, but this is another issue and would require a stronger
&lt;br&gt;determination
&lt;br&gt;&lt;br&gt;ciao -- Nando
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26411057&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-to-the-Leap-function-in-the-Date-class-tp25988207p26411057.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404864</id>
	<title>Re: market models code</title>
	<published>2009-11-18T01:34:50Z</published>
	<updated>2009-11-18T01:34:50Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Wed, 2009-11-18 at 20:31 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt; I would suggest sticking with valarray. We all know the issue with
&lt;br&gt;&amp;gt; resizing now.
&lt;br&gt;&lt;br&gt;Ok.
&lt;br&gt;&lt;br&gt;Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;I've finally learned what `upward compatible' means. It means we 
&lt;br&gt;get to keep all our old mistakes. 
&lt;br&gt;-- Dennie van Tassel 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404864&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26404864.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404798</id>
	<title>Re: market models code</title>
	<published>2009-11-18T01:31:44Z</published>
	<updated>2009-11-18T01:31:44Z</updated>
	<author>
		<name>Mark joshi-2</name>
	</author>
	<content type="html">I would suggest sticking with valarray. We all know the issue with
&lt;br&gt;resizing now.
&lt;br&gt;&lt;br&gt;best
&lt;br&gt;&lt;br&gt;Mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/18 Luigi Ballabio &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 2009-11-17 at 20:09 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt;&amp;gt; Well all that really needs to be done is changing all the valarrays I
&lt;br&gt;&amp;gt;&amp;gt; changed to deques and timing the testsuite. The only slight subtlety
&lt;br&gt;&amp;gt;&amp;gt; is that the argument orders tend to be different for valarrays.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ok, done.  I've run the market-model test cases.  On VC9, deque is about
&lt;br&gt;&amp;gt; 1.5 % faster than vector (about 10 seconds out of 10 minutes) and
&lt;br&gt;&amp;gt; valarray is 2.5% faster than deque (another 15 sec.)  Optimizations were
&lt;br&gt;&amp;gt; as specified in release mode.
&lt;br&gt;&amp;gt; With gcc and -O2, it makes hardly any difference in timing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So what do we do? Do we switch to deque?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Luigi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The first thing we do, let's kill all the lawyers.
&lt;br&gt;&amp;gt; -- W. Shakespeare, &amp;quot;King Henry VI, Part II&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pricing exotic interest rate derivatives - The LIBOR Market Model in
&lt;br&gt;QuantLib June 2009, London,
&lt;br&gt;&lt;a href=&quot;http://www.moneyscience.com/training/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.moneyscience.com/training/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Assoc Prof Mark Joshi
&lt;br&gt;Centre for Actuarial Studies
&lt;br&gt;University of Melbourne
&lt;br&gt;My website is www.markjoshi.com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404798&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26404798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404727</id>
	<title>Re: market models code</title>
	<published>2009-11-18T01:23:44Z</published>
	<updated>2009-11-18T01:23:44Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Tue, 2009-11-17 at 20:09 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt; Well all that really needs to be done is changing all the valarrays I
&lt;br&gt;&amp;gt; changed to deques and timing the testsuite. The only slight subtlety
&lt;br&gt;&amp;gt; is that the argument orders tend to be different for valarrays.
&lt;br&gt;&lt;br&gt;Ok, done. &amp;nbsp;I've run the market-model test cases. &amp;nbsp;On VC9, deque is about
&lt;br&gt;1.5 % faster than vector (about 10 seconds out of 10 minutes) and
&lt;br&gt;valarray is 2.5% faster than deque (another 15 sec.) &amp;nbsp;Optimizations were
&lt;br&gt;as specified in release mode.
&lt;br&gt;With gcc and -O2, it makes hardly any difference in timing.
&lt;br&gt;&lt;br&gt;So what do we do? Do we switch to deque?
&lt;br&gt;&lt;br&gt;Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;The first thing we do, let's kill all the lawyers. 
&lt;br&gt;-- W. Shakespeare, &amp;quot;King Henry VI, Part II&amp;quot; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26404727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26404276</id>
	<title>Re: QuantLibAddin, Addin/Cpp</title>
	<published>2009-11-17T10:31:03Z</published>
	<updated>2009-11-17T10:31:03Z</updated>
	<author>
		<name>Roland Lichters-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Let&amp;#39;s keep in touch and I will certainly let you know when I get back&lt;br&gt;
into this in detail.  I would definitely welcome any help you could&lt;br&gt;
provide on this front.&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;Hi Eric,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I mad a few more steps last weekend:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1) copied/pasted a simple example (I call it calcaddins.cpp) based on &lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Calc/Add-In/Simple_Calc_Add-In&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/Calc/Add-In/Simple_Calc_Add-In&lt;/a&gt; and&lt;/div&gt;
&lt;div&gt;&lt;a href=&quot;http://wiki.services.openoffice.org/wiki/CompleteAddIn&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/CompleteAddIn&lt;/a&gt; &lt;/div&gt;&lt;div&gt;2) modified OpenOffice.org3.1_SDK/examples/DevelopersGuide/Components/Makefile to compile the simple example and deploy it into Calc&lt;/div&gt;
&lt;div&gt;3) managed to link the sdk example code with QuantLibAddin, ObjectHandler 0.9.9 etc.&lt;/div&gt;&lt;div&gt;4) added calcutils.cpp, init.cpp, conversions.cpp from QuantLibAddin/Addins/Calc to the compilation&lt;/div&gt;&lt;div&gt;5) added a few functions manually to the example code:  qlVersion(), qlAddinVersion(), qlEuropeanExercise()&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It is all in a very experimental stage (see attached), but at least it compiles on my Mac, the addin library gets deployed, the functions show up in Calc&amp;#39;s function wizard, and they work.&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;At this point I think we could make the QuantLibAddin for Calc work in 0.9.9 with OOo 3 as it did in version 0.9.0 with Ooo 2.4 (I mean adding functions manually, have not looked into gensrc yet).&lt;/div&gt;&lt;div&gt;
Before I continue digging into this, I&amp;#39;d like to discuss with you a bit more. For example, your IDL file looks already different from the example I have picked etc. I&amp;#39;m also curious whether the attached files work on your (I guess) Linux environment, too (definitely needs changing paths in the Makefile).&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;What do you think?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Best regards,&lt;/div&gt;&lt;div&gt;Roland&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26404276&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;calcaddin.tar.gz&lt;/strong&gt; (376K) &lt;a href=&quot;http://old.nabble.com/attachment/26404276/0/calcaddin.tar.gz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-QuantLibAddin%2C-Addin-Cpp-tp26404276p26404276.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26387149</id>
	<title>Re: FX Functions Code Contribution</title>
	<published>2009-11-17T01:58:24Z</published>
	<updated>2009-11-17T01:58:24Z</updated>
	<author>
		<name>Dimathematician</name>
	</author>
	<content type="html">Just wanted to add some news regarding the code above. We&amp;#39;re documenting it in a blog here:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.mathfinance.de/forum/?p=346&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mathfinance.de/forum/?p=346&lt;/a&gt;&lt;br&gt;&lt;br&gt;The rest of the code will be discussed in upcoming discussions. Regards&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/8/6 Luigi Ballabio &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26387149&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On Wed, 2009-08-05 at 15:10 +0200, Dima wrote:&lt;br&gt;
&amp;gt; I discussed it ages ago, but its finally finished. I&amp;#39;ve uploaded new&lt;br&gt;
&lt;/div&gt;&amp;gt; QuantLib code on &lt;a href=&quot;http://www.longvega.com/FxFunctions.zip&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.longvega.com/FxFunctions.zip&lt;/a&gt;. [...] I&amp;#39;d be happy&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; to see it somewhere in the trunk soon,&lt;br&gt;
&amp;gt; so I can use it withing QuantLib.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Dima,&lt;br&gt;
        thanks for the code.  I&amp;#39;ll put it in the repository, but probably not&lt;br&gt;
so soon as I&amp;#39;m trying to stabilize the existing code for the 1.0&lt;br&gt;
release.  Your code will probably get in the trunk after that.&lt;br&gt;
&lt;br&gt;
Thanks again,&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;        Luigi&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;br&gt;
fix, n.,v.&lt;br&gt;
What one does when a problem has been reported too many times&lt;br&gt;
to be ignored.&lt;br&gt;
-- the Jargon file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26387149&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FX-Functions-Code-Contribution-tp24826688p26387149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386514</id>
	<title>Re: market models code</title>
	<published>2009-11-17T01:09:09Z</published>
	<updated>2009-11-17T01:09:09Z</updated>
	<author>
		<name>Mark joshi-2</name>
	</author>
	<content type="html">Well all that really needs to be done is changing all the valarrays I
&lt;br&gt;changed to deques and timing the testsuite. The only slight subtlety
&lt;br&gt;is that the argument orders tend to be different for valarrays.
&lt;br&gt;&lt;br&gt;best
&lt;br&gt;&lt;br&gt;mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/17 Luigi Ballabio &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386514&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 2009-11-17 at 13:03 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'll put it on the &amp;quot;todo&amp;quot; list which is rather large right now...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it's just trying the timing, I can do that (I'd settle the thing for
&lt;br&gt;&amp;gt; the 1.0 release---I'm not in a big hurry, but sometime in the next month
&lt;br&gt;&amp;gt; or so would be nice.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Luigi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Father's got the sack from the water-works
&lt;br&gt;&amp;gt; For smoking of his old cherry-briar;
&lt;br&gt;&amp;gt; Father's got the sack from the water-works
&lt;br&gt;&amp;gt; 'Cos he might set the water-works on fire.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pricing exotic interest rate derivatives - The LIBOR Market Model in
&lt;br&gt;QuantLib June 2009, London,
&lt;br&gt;&lt;a href=&quot;http://www.moneyscience.com/training/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.moneyscience.com/training/index.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Assoc Prof Mark Joshi
&lt;br&gt;Centre for Actuarial Studies
&lt;br&gt;University of Melbourne
&lt;br&gt;My website is www.markjoshi.com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386514&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26386514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386401</id>
	<title>Re: market models code</title>
	<published>2009-11-17T00:57:29Z</published>
	<updated>2009-11-17T00:57:29Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Tue, 2009-11-17 at 13:03 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt; I'll put it on the &amp;quot;todo&amp;quot; list which is rather large right now...
&lt;br&gt;&lt;br&gt;If it's just trying the timing, I can do that (I'd settle the thing for
&lt;br&gt;the 1.0 release---I'm not in a big hurry, but sometime in the next month
&lt;br&gt;or so would be nice.)
&lt;br&gt;&lt;br&gt;Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Father's got the sack from the water-works 
&lt;br&gt;For smoking of his old cherry-briar; 
&lt;br&gt;Father's got the sack from the water-works 
&lt;br&gt;'Cos he might set the water-works on fire. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26386401.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383229</id>
	<title>Re: market models code</title>
	<published>2009-11-16T18:03:05Z</published>
	<updated>2009-11-16T18:03:05Z</updated>
	<author>
		<name>Mark joshi-2</name>
	</author>
	<content type="html">I'll put it on the &amp;quot;todo&amp;quot; list which is rather large right now...
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/16 Luigi Ballabio &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383229&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-11-13 at 21:52 +0100, Klaus Spanderen wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm using deque&amp;lt;bool&amp;gt; as a drop-in replacement for vector&amp;lt;bool&amp;gt; because
&lt;br&gt;&amp;gt;&amp;gt; deque&amp;lt;bool&amp;gt; is usually faster than vector&amp;lt;bool&amp;gt; (but needs more memory).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; deque looks good. Mark, would you try it out and see whether you get the
&lt;br&gt;&amp;gt; same speed improvement as valarray?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Luigi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have yet to see any problem, however complicated, which, when you
&lt;br&gt;&amp;gt; looked at it in the right way, did not become still more complicated.
&lt;br&gt;&amp;gt; -- Poul Anderson
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Quant Job Interview Questions and Answers is now out: www.markjoshi.com
&lt;br&gt;&lt;br&gt;Assoc Prof Mark Joshi
&lt;br&gt;Centre for Actuarial Studies
&lt;br&gt;University of Melbourne
&lt;br&gt;My website is www.markjoshi.com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383229&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26383229.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26378558</id>
	<title>Re: Generalized Hull White model with non-constant parameters</title>
	<published>2009-11-16T12:06:36Z</published>
	<updated>2009-11-16T12:06:36Z</updated>
	<author>
		<name>javit</name>
	</author>
	<content type="html">1) The code is the same as in Sourceforge. Actually, in my sourceforge post, I provided a link (not the source code) to my original message in the quantlib-dev group.
&lt;br&gt;&lt;br&gt;For 3), I'm working on the copyright thing with our group manager. It's going to take sometime. Meanwhile, I would like to tidy up the code and write a good example case.
&lt;br&gt;&lt;br&gt;For 2), there is a concern. Sadruddin Rejeb and/or StatPro Italia srl didn't refer to any material about the trinomial tree generation method used in the code. Comparing to the documents I have used in coding, the trinomial tree structures are different by observation. I need some information about the trinomial tree generation method in the trinomialtree class. Or instead, I may create another trinomialtree class. In either caser, it would be better to know more about the current trinomialtree class.
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;Javit
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Luigi Ballabio wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;On Tue, 2009-11-10 at 10:31 -0800, javit wrote:
&lt;br&gt;&amp;gt; I modified the Black-Karasinski and the Ornstein-Uhlenbcek classes to build a
&lt;br&gt;&amp;gt; generalized Hull-White model with time-dependent drift and volatility
&lt;br&gt;&amp;gt; parameters. It consists of four files pasted at the bottom of this message: 
&lt;br&gt;&amp;gt; GeneralizedOUprocess.hpp, 
&lt;br&gt;&amp;gt; GeneralizedOUprocess.cpp, 
&lt;br&gt;&amp;gt; GeneralizedHW.hpp and
&lt;br&gt;&amp;gt; GeneralizedHW.cpp. 
&lt;br&gt;&lt;br&gt;Thanks, Javit. &amp;nbsp;I'll add the files to the library as soon as I get some
&lt;br&gt;time. &amp;nbsp;I've a few questions, namely:
&lt;br&gt;&lt;br&gt;1) are the files attached here the same as the ones in the Sourceforge
&lt;br&gt;patch tracker, or is one version more recent than the other?
&lt;br&gt;&lt;br&gt;2) it would be nice to have a test case for the new classes to add to
&lt;br&gt;the test suite. &amp;nbsp;Do you think you can find some time to code it?
&lt;br&gt;&lt;br&gt;3) and finally, there's the usual matter of copyright attribution.
&lt;br&gt;Should the copyright be attributed to you or your company (if any?)
&lt;br&gt;And if you're not self-employed, are you sure that your company is ok
&lt;br&gt;with you contributing code?
&lt;br&gt;&lt;br&gt;Later,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Hanlon's Razor: 
&lt;br&gt;Never attribute to malice that which is adequately explained 
&lt;br&gt;by stupidity. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;QuantLib-dev@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class=&quot;signature&quot;&gt;Cavit (Javit) Hafizoglu
&lt;a href=&quot;mailto:javit.hafizoglu@suntrust.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mailto:javit.hafizoglu@suntrust.com&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generalized-Hull-White-model-with-non-constant-parameters-tp26287370p26378558.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374068</id>
	<title>Re: Question to the Leap function in the Date class</title>
	<published>2009-11-16T07:39:08Z</published>
	<updated>2009-11-16T07:39:08Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Wed, 2009-10-21 at 11:50 +0200, Ferdinando Ametrano wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I suggest you to just replace the current implementation with
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #include &amp;lt;boost/date_time/gregorian/gregorian.hpp&amp;gt;
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;bool Date::isLeap(Year y) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return boost::gregorian::gregorian_calendar::is_leap_year(y);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I will commit this change unless objections are raised
&lt;/div&gt;&lt;br&gt;Nando,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; with this change, one need to link the binary Boost.Date library with
&lt;br&gt;QuantLib (whereas before this, the library only needed the Boost
&lt;br&gt;headers.)
&lt;br&gt;&lt;br&gt;I might be fine with this if we used Boost.Date to implement most of our
&lt;br&gt;Date class, but I wouldn't introduce the dependency just for checking
&lt;br&gt;leap years beyond 2200...
&lt;br&gt;&lt;br&gt;Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;I hate quotations. 
&lt;br&gt;-- Ralph Waldo Emerson 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374068&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-to-the-Leap-function-in-the-Date-class-tp25988207p26374068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26373803</id>
	<title>Re: Generalized Hull White model with non-constant parameters</title>
	<published>2009-11-16T07:21:19Z</published>
	<updated>2009-11-16T07:21:19Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Tue, 2009-11-10 at 10:31 -0800, javit wrote:
&lt;br&gt;&amp;gt; I modified the Black-Karasinski and the Ornstein-Uhlenbcek classes to build a
&lt;br&gt;&amp;gt; generalized Hull-White model with time-dependent drift and volatility
&lt;br&gt;&amp;gt; parameters. It consists of four files pasted at the bottom of this message: 
&lt;br&gt;&amp;gt; GeneralizedOUprocess.hpp, 
&lt;br&gt;&amp;gt; GeneralizedOUprocess.cpp, 
&lt;br&gt;&amp;gt; GeneralizedHW.hpp and
&lt;br&gt;&amp;gt; GeneralizedHW.cpp. 
&lt;br&gt;&lt;br&gt;Thanks, Javit. &amp;nbsp;I'll add the files to the library as soon as I get some
&lt;br&gt;time. &amp;nbsp;I've a few questions, namely:
&lt;br&gt;&lt;br&gt;1) are the files attached here the same as the ones in the Sourceforge
&lt;br&gt;patch tracker, or is one version more recent than the other?
&lt;br&gt;&lt;br&gt;2) it would be nice to have a test case for the new classes to add to
&lt;br&gt;the test suite. &amp;nbsp;Do you think you can find some time to code it?
&lt;br&gt;&lt;br&gt;3) and finally, there's the usual matter of copyright attribution.
&lt;br&gt;Should the copyright be attributed to you or your company (if any?)
&lt;br&gt;And if you're not self-employed, are you sure that your company is ok
&lt;br&gt;with you contributing code?
&lt;br&gt;&lt;br&gt;Later,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Hanlon's Razor: 
&lt;br&gt;Never attribute to malice that which is adequately explained 
&lt;br&gt;by stupidity. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26373803&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Generalized-Hull-White-model-with-non-constant-parameters-tp26287370p26373803.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26368769</id>
	<title>Re: market models code</title>
	<published>2009-11-16T01:05:26Z</published>
	<updated>2009-11-16T01:05:26Z</updated>
	<author>
		<name>Luigi Ballabio</name>
	</author>
	<content type="html">On Fri, 2009-11-13 at 21:52 +0100, Klaus Spanderen wrote:
&lt;br&gt;&amp;gt; I'm using deque&amp;lt;bool&amp;gt; as a drop-in replacement for vector&amp;lt;bool&amp;gt; because 
&lt;br&gt;&amp;gt; deque&amp;lt;bool&amp;gt; is usually faster than vector&amp;lt;bool&amp;gt; (but needs more memory).
&lt;br&gt;&lt;br&gt;deque looks good. Mark, would you try it out and see whether you get the
&lt;br&gt;same speed improvement as valarray?
&lt;br&gt;&lt;br&gt;Luigi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;I have yet to see any problem, however complicated, which, when you 
&lt;br&gt;looked at it in the right way, did not become still more complicated. 
&lt;br&gt;-- Poul Anderson 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368769&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26368769.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26344193</id>
	<title>Re: market models code</title>
	<published>2009-11-13T12:53:03Z</published>
	<updated>2009-11-13T12:53:03Z</updated>
	<author>
		<name>Dominick Samperi</name>
	</author>
	<content type="html">I discovered this odd property of valarray just weeks ago.
&lt;br&gt;&lt;br&gt;In his book Bjarne Stroustrup says the C++ standard on
&lt;br&gt;valarray gives compiler writers much latitude so that they can use
&lt;br&gt;tricks behind the scenes to speed up code.
&lt;br&gt;&lt;br&gt;Thus there may be a reason for this madness.
&lt;br&gt;&lt;br&gt;This is too bad, because valarray gives a nice way to do vector
&lt;br&gt;processing and selecting (using valarray&amp;lt;bool&amp;gt;). Unfortunately,
&lt;br&gt;you need to know how many items will be selected before the
&lt;br&gt;code is run that does the selection! This greatly reduces the
&lt;br&gt;utility and elegance of the approach.
&lt;br&gt;&lt;br&gt;Dominick
&lt;br&gt;&lt;br&gt;Mark joshi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok you've convinced me that valarray is bad. I hate classes where =
&lt;br&gt;&amp;gt; doesn't do what you expect!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; vector&amp;lt;bool&amp;gt; is bad too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe we should be using a boost class for arrays of bools.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; best
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; mark
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/13 Luigi Ballabio &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344193&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; On Tue, 2009-11-10 at 14:07 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; as you'll have noticed I've been doing some fiddling with the market
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; models code.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Mark,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;just for future reference: when using gcc, the test suite was failing
&lt;br&gt;&amp;gt;&amp;gt; hard (access violations and such.) &amp;nbsp;It turns out that according to the C
&lt;br&gt;&amp;gt;&amp;gt; ++ standard, the valarray assignment operator is only required to work
&lt;br&gt;&amp;gt;&amp;gt; when the two sides of the assignment have the same size (yes, one never
&lt;br&gt;&amp;gt;&amp;gt; ends learning C++.) &amp;nbsp; More details in the standard and at
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://groups.google.com/group/comp.lang.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/comp.lang.c&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; ++/browse_thread/thread/b9ac323fd7f5578b/dba133d7b15e91e0?hl=en&amp;ie=UTF-8&amp;gt;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Therefore, when one writes
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; valarray&amp;lt;Foo&amp;gt; v1;
&lt;br&gt;&amp;gt;&amp;gt; v1 = some_function();
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; where some_function returns a (presumably not empty) valarray, the
&lt;br&gt;&amp;gt;&amp;gt; behavior is undefined (the above effectively occurs, for instance, when
&lt;br&gt;&amp;gt;&amp;gt; a valarray data member is initialized in the constructor body.) &amp;nbsp;Visual
&lt;br&gt;&amp;gt;&amp;gt; C++ tries to help the average programmer and does what one would expect
&lt;br&gt;&amp;gt;&amp;gt; (i.e., resize v1 and copy.) &amp;nbsp;Instead, gcc silently ignore the assignment
&lt;br&gt;&amp;gt;&amp;gt; so that v1 ends up still empty. &amp;nbsp;You say it's kind of snob of gcc? My
&lt;br&gt;&amp;gt;&amp;gt; reaction exactly. &amp;nbsp;Well, my second reaction. &amp;nbsp;The first involved a lot
&lt;br&gt;&amp;gt;&amp;gt; of cursing.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Conclusion: I committed a few changes to keep the code portable.
&lt;br&gt;&amp;gt;&amp;gt; Basically, one has to include a few valarray.resize() calls before
&lt;br&gt;&amp;gt;&amp;gt; assignment. Unfortunately, we'll have to keep that in mind when we write
&lt;br&gt;&amp;gt;&amp;gt; new valarray code.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Luigi
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; P.S. About the MarketModel example: please whistle in my general
&lt;br&gt;&amp;gt;&amp;gt; direction when it's done, so I can backport it to the 1.0 branch.
&lt;br&gt;&amp;gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'd never join any club that would have the likes of me as a member.
&lt;br&gt;&amp;gt;&amp;gt; -- Groucho Marx
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344193&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26344193.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26343385</id>
	<title>Re: market models code</title>
	<published>2009-11-13T12:52:58Z</published>
	<updated>2009-11-13T12:52:58Z</updated>
	<author>
		<name>Klaus Spanderen-2</name>
	</author>
	<content type="html">Hi Mark,
&lt;br&gt;&lt;br&gt;On Friday 13 November 2009 21:01:57 Mark joshi wrote:
&lt;br&gt;&amp;gt; Ok you've convinced me that valarray is bad. I hate classes where =
&lt;br&gt;&amp;gt; doesn't do what you expect!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; vector&amp;lt;bool&amp;gt; is bad too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe we should be using a boost class for arrays of bools.
&lt;br&gt;&lt;br&gt;I'm using deque&amp;lt;bool&amp;gt; as a drop-in replacement for vector&amp;lt;bool&amp;gt; because 
&lt;br&gt;deque&amp;lt;bool&amp;gt; is usually faster than vector&amp;lt;bool&amp;gt; (but needs more memory).
&lt;br&gt;&lt;br&gt;cheers 
&lt;br&gt;&amp;nbsp;Klaus
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26343385&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26343385.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26342673</id>
	<title>Re: market models code</title>
	<published>2009-11-13T12:01:57Z</published>
	<updated>2009-11-13T12:01:57Z</updated>
	<author>
		<name>Mark joshi-2</name>
	</author>
	<content type="html">Ok you've convinced me that valarray is bad. I hate classes where =
&lt;br&gt;doesn't do what you expect!
&lt;br&gt;&lt;br&gt;vector&amp;lt;bool&amp;gt; is bad too.
&lt;br&gt;&lt;br&gt;Maybe we should be using a boost class for arrays of bools.
&lt;br&gt;&lt;br&gt;best
&lt;br&gt;&lt;br&gt;mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/13 Luigi Ballabio &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26342673&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;luigi.ballabio@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, 2009-11-10 at 14:07 +1100, Mark joshi wrote:
&lt;br&gt;&amp;gt;&amp;gt; as you'll have noticed I've been doing some fiddling with the market
&lt;br&gt;&amp;gt;&amp;gt; models code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mark,
&lt;br&gt;&amp;gt;        just for future reference: when using gcc, the test suite was failing
&lt;br&gt;&amp;gt; hard (access violations and such.)  It turns out that according to the C
&lt;br&gt;&amp;gt; ++ standard, the valarray assignment operator is only required to work
&lt;br&gt;&amp;gt; when the two sides of the assignment have the same size (yes, one never
&lt;br&gt;&amp;gt; ends learning C++.)   More details in the standard and at
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://groups.google.com/group/comp.lang.c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/comp.lang.c&lt;/a&gt;&lt;br&gt;&amp;gt; ++/browse_thread/thread/b9ac323fd7f5578b/dba133d7b15e91e0?hl=en&amp;ie=UTF-8&amp;gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Therefore, when one writes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; valarray&amp;lt;Foo&amp;gt; v1;
&lt;br&gt;&amp;gt; v1 = some_function();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where some_function returns a (presumably not empty) valarray, the
&lt;br&gt;&amp;gt; behavior is undefined (the above effectively occurs, for instance, when
&lt;br&gt;&amp;gt; a valarray data member is initialized in the constructor body.)  Visual
&lt;br&gt;&amp;gt; C++ tries to help the average programmer and does what one would expect
&lt;br&gt;&amp;gt; (i.e., resize v1 and copy.)  Instead, gcc silently ignore the assignment
&lt;br&gt;&amp;gt; so that v1 ends up still empty.  You say it's kind of snob of gcc? My
&lt;br&gt;&amp;gt; reaction exactly.  Well, my second reaction.  The first involved a lot
&lt;br&gt;&amp;gt; of cursing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Conclusion: I committed a few changes to keep the code portable.
&lt;br&gt;&amp;gt; Basically, one has to include a few valarray.resize() calls before
&lt;br&gt;&amp;gt; assignment. Unfortunately, we'll have to keep that in mind when we write
&lt;br&gt;&amp;gt; new valarray code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Luigi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; P.S. About the MarketModel example: please whistle in my general
&lt;br&gt;&amp;gt; direction when it's done, so I can backport it to the 1.0 branch.
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd never join any club that would have the likes of me as a member.
&lt;br&gt;&amp;gt; -- Groucho Marx
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Quant Job Interview Questions and Answers is now out: www.markjoshi.com
&lt;br&gt;&lt;br&gt;Assoc Prof Mark Joshi
&lt;br&gt;Centre for Actuarial Studies
&lt;br&gt;University of Melbourne
&lt;br&gt;My website is www.markjoshi.com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;QuantLib-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26342673&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;QuantLib-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/quantlib-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/market-models-code-tp26277613p26342673.html" />
</entry>

</feed>
