SciD (Was: Real Close to the Machine: Floating Point in D )
neob
neobstojec at gmail.com
Fri May 15 19:45:10 PDT 2009
> THe NR in C++ code is the C code with a few token classes thrown in
> for vectors. Still using 1-based indexing.
You must be talking about NR 2 C++ code. NR 3 code uses 0-based indexing (and it allows you to use STL vectors). It's also a lot more object oriented than NR 2 and it uses templates instead of function pointer parameters. Still, it's not very usable as a library and it's not even meant to be one. It's basically a set of algorithms, so free functions would be better than classes, IMHO.
More information about the Digitalmars-d
mailing list