|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
C# (swig) version of QuantibHi,
I've compiled the C# (SWIG) version of quantlib and all is working. Now, trying to reproduce some example from the C++ version, I've noticed that some classes are missing, for example the "PathPricer". Does anyone is aware of the discrepancies between the C++ and C# version and how to reconcile them? Any help is welcome, many thanks. Paolo ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ QuantLib-users mailing list QuantLib-users@... https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
|
Re: C# (swig) version of QuantibOn 1 October 2009 at 14:53, Paolo Tenconi wrote: | I've compiled the C# (SWIG) version of quantlib and all is working. | Now, trying to reproduce some example from the C++ version, I've noticed | that some classes are missing, for example the "PathPricer". | Does anyone is aware of the discrepancies between the C++ and C# version and | how to reconcile them? Swig uses interface files (with extension .i) to generate wrapper code. It seems that these are were simply not created for the classes you are seeking: edd@ron:~/src/debian/QuantLib/QuantLib-SWIG-0.9.7/SWIG> grep PricePath * edd@ron:~/src/debian/QuantLib/QuantLib-SWIG-0.9.7/SWIG> Your best bet may be to start filling in the missing .i files. The quantlib-dev list may be of help. Dirk -- Three out of two people have difficulties with fractions. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ QuantLib-users mailing list QuantLib-users@... https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
|
Re: C# (swig) version of QuantibOn Thu, 2009-10-01 at 14:53 +0200, Paolo Tenconi wrote:
> I've compiled the C# (SWIG) version of quantlib and all is working. > Now, trying to reproduce some example from the C++ version, I've > noticed that some classes are missing, for example the "PathPricer". > Does anyone is aware of the discrepancies between the C++ and C# > version and how to reconcile them? Not all C++ classes are exported to C#, as you've been told. Also, in the particular case of PathPricer, there's the additional problem that, for our interfaces, polymorphism is difficult to support across languages (i.e., exporting a C++ base class and inheriting from it in C#.) It can be done, but it's going to take quite some thinking and some effort... Luigi -- Vin: It's like this fellow I knew in El Paso. One day, he just took all his clothes off and jumped in a mess of cactus. I asked him that same question, "Why?" Calvera: And? Vin: He said, "It seemed like a good idea at the time." -- The Magnificent Seven ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ QuantLib-users mailing list QuantLib-users@... https://lists.sourceforge.net/lists/listinfo/quantlib-users |
| Free embeddable forum powered by Nabble | Forum Help |