Login  Register

Re: thetaPerDay missing in SWIG?

Posted by Ken Anderson-2 on Apr 27, 2006; 6:22am
URL: http://quantlib.414.s1.nabble.com/thetaPerDay-missing-in-SWIG-tp4748p4749.html

Boy, I love answering my own questions.

The SWIG did not have thetaPerDay(), so I modified the SWIG input  
file, regenerated, and rebuilt, and everything works as expected.

Is there a way to integrate my SWIG change without a lot of trouble?  
Or can I just send the file to someone?

Thanks,
Ken

On Apr 26, 2006, at 5:28 PM, Ken Anderson wrote:

> I have moved to 0.3.12 specifically because I need thetaPerDay()  
> for VanillaOption, both in csharp and java.  The documentation  
> shows that thetaPerDay() is available in the VanillaOption class.
>
> Unfortunately, the Java SWIG files do not have this method, and the  
> class it's declared in, OneAssetOption, isn't even part of the  
> class hierarchy on the Java side.
>
> Can someone please help me work this out?  Is there something  
> missing in the SWIG definition files?
>
> Thanks,
> Ken
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users