Re: Monte Carlo grid and time consumption
Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Monte-Carlo-grid-and-time-consumption-tp1540p1543.html
On Thu, 2008-01-03 at 00:22 -0800, Yomi wrote:
> I have given a quick look at the doc.
> It does not seem to be a constructor taking a std::vector<Time>, does it?
> Perhaps my version is outdated, I am using 0.8.1.
Oh, right. TimeGrid has a constructor taking two iterators, so if you
have a vector v, you can build the grid as
TimeGrid grid(v.begin(),v.end());
Luigi
--
Everything can be filed under "miscellaneous".
-- unknown
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users