Reference: http://quantlib.org/slides/dima-ql-intro-1.pdf
I have found that the code snippet in the tutorial is NOT complete. For example, 1> I cannot find the definition for function template <class T> boost::optional<T> getObject(const std::string& id, Error& err) on page 50 2> I cannot find the definition of variable rep_ on page 51. Is there a place where I can download the full source code for this very good tutorial? Thank you ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Page 3 of that tutorial reads: “In the whole tutorial I assume that you have included the QuantLib header via #include <ql/quantlib.hpp> in the code. I will not state this include command in the example code explicitly, so be sure that you have included the header everywhere. Also, I will use the QuantLib namespace to make the code more readable and compact. To reproduce the code, make sure to state Using namespace QuantLib; in the place where you are using the code.” Have you done that? Definition for function boost::optional is most likely in the Boost library, which is a dependency of QuantLib. Have you installed it? Gerardo Da: Mike Jake [mailto:[hidden email]] Reference: http://quantlib.org/slides/dima-ql-intro-1.pdf
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
I have read the tutorial page by page, so I do understand those requirements.
The function getObject on page 50 and the variable rep_ is illustrated in the example code that is not included the QuantLib distribution package. I assume the original author forgot to add those definition in the PPT. Your answer is not related to my original question. Thank you 1> I cannot find the definition for function template <class T> boost::optional<T> getObject(const std::string& id, Error& err) on page 50 2> I cannot find the definition of variable rep_ on page 51. On Wed, May 30, 2012 at 1:48 AM, Ballabio Gerardo <[hidden email]> wrote:
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by Mike Jake
On Tue, May 29, 2012 at 9:10 PM, Mike Jake <[hidden email]> wrote:
> Reference: http://quantlib.org/slides/dima-ql-intro-1.pdf > > I have found that the code snippet in the tutorial is NOT complete. > > Is there a place where I can download the full source code for this very > good tutorial? I haven't tried it myself, so I'm not sure that everything is there. However, the code Dimitri gave me is available at <http://quantlib.org/docs.shtml> (it's the "code samples [ZIP]" link below the links to Dimitri's PDFs). Luigi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Thank you
On Wed, May 30, 2012 at 9:57 AM, Luigi Ballabio <[hidden email]> wrote:
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |