Re: Barrier Option with Local Vol
Posted by
BL BL on
Sep 16, 2015; 6:55am
URL: http://quantlib.414.s1.nabble.com/Barrier-Option-with-Local-Vol-tp16910p16912.html
Hi Peter,
thanks. This is already helpful.
For Perl. I exposed the Engine already to perl. It works without the local vol part.
I looked at the matrix swig definition in linearalgebra.i. They expose most of the methods to not perl. For whatever reason.
I tried to insert 2 methods for element access. They compiled. I was able to insert an element and then read it out again from perl.
But when i tried to acess further elemets i got an unhandled error.
Also i wondered a bit because the matrix is not exported via a pointer. Maybe this is the reason for the problems.
ATM i try some workarounds (including possibly changing the signature of the original engine and passing a vector. Then transforming this into a matrix in the c++ glue code.
But i hoped for another solution.
Maybe there is still someone out there using perl and having solved this.
Many thanks anyway!
Bernd
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users