Re: Expose list type in QuantLibXL
Posted by
Hyungseok Hahm on
URL: http://quantlib.414.s1.nabble.com/Expose-list-type-in-QuantLibXL-tp5268p5270.html
Hi Eric,
Welcome back
std::list<Time> times;
It's the Quantlib::Time type which already exists in Quantlib and exposed in QuantlibXL.
Then I will make a wrapper in QuantlibAddin
And I've noticed that exposing template class example in the tutorial isn't exactly easy to follow.
After resolving the list issue, I need to expose Timegrid template class. Can you indicate any built-in implementation in QuantlibXL so that I can imitate?
Thanks!
- Hyung
Sent from iPhone
Hi Hyung,On 2012-08-14 08:17, Hyung-Seok Hahm wrote:Dear all,
I need to implement the following Quantlib code in QuantLibXL.
std::list<Time> times;
It seems that there are only three tensorRanks - scalar, vector,
matrix - being used in QuantLibXL at the moment.
How can I expose std::list in QuantLibXL?
Please let me know.
Thanks in advance.
- Hyung
Exposing directly to QuantLibXL a QuantLib value of type std::list is not supported. You could implement support for that, or you could write a little wrapper in QuantLibAddin which wraps the QuantLib std::list as a std::vector for QuantLibXL.Which value is it? Is the std::list something that already exists in QuantLib, or is it something you added yourself?Regards,Eric-- ===================================================Eric Ehlersnazcatech sprl | Brussels | http://www.nazcatech.be* Distributed computing for pricing analytics* Use Microsoft Excel as a client to the Grid------------------------------------------------------------------------------Live Security Virtual ConferenceExclusive 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
------------------------------------------------------------------------------
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