print vs assign output in QuantLib-SWIG
Posted by
Tawanda Gwena on
Aug 25, 2012; 11:08pm
URL: http://quantlib.414.s1.nabble.com/print-vs-assign-output-in-QuantLib-SWIG-tp12595.html
I am working on quantlib-swig and porting it to Lua.
I have been working with the interest rate curves. They mostly work except at the output stage. I successfully created the PiecewiseFlatForward object "ff". When I issue the command
print(ff:zeroRate(zDate,daycount,Annual)
I get the output
0.443772 % Actual/360 Annual compounding
Unfortunately I get the same string when I assign, which is generally not easy to work with.
I would like to know how the other languages deal with it (Python for instance) and pointers to where I may be able to fix it.
Thanks
------------------------------------------------------------------------------
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-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev