Re: Re: QL for MMA
Posted by Luigi Ballabio-2 on
URL: http://quantlib.414.s1.nabble.com/Re-QL-for-MMA-tp2526p2527.html
At 09:03 PM 5/14/03 +0200, Niels Elken Sønderby wrote:
>I find it important that the QuantLib-bindings aren't made as a simple
>one-to-one mapping of C++-functions to Mathematica-functions, but rather
>go with the idea and conventions of Mma.
I'm not a Mathematica user, but I second that. I'm doing the same with the
Python/Ruby/Scheme bindings I'm exporting through SWIG---for instance,
foo.size() is exported so that in Python one can write len(foo), and
Calendar::isBusinessDay is exported to Ruby as "isBusinessDay?" with the
question mark, and to Scheme as "is-business-day?" as hyphens are used to
separate words.
And by the way, I just had a look at your notebook with the MathReader you
link to. It looks awesome.
Bye,
Luigi