Check out: NIST Digital Library of Mathematical Functions (companion to the NIST Handbook of Mathematical Functions)
C++ Functions to Evaluate Chebyshev Polynomials
Here’s some C++ functions which evaluate Chebyshev polynomials: T0(x): double T0(double x) ; T1(x): double T1(double x) ; T2(x): double T2(double x) ; Tn(x): double Tn(unsigned int n, double x) ; These are inline functions defined in the header file, chebyshev.h:
C++ Functions to Evaluate Legendre Polynomials
Here’s some C++ functions which evaluate Legendre polynomials: P0(x): double P0(double x) ; P1(x): double P1(double x) ; P2(x): double P2(double x) ; Pn(x): double Pn(unsigned int n, double x) ; These are inline functions defined in the header file, legendre.h:
Matrix Template Library
While rewriting some data analysis software I developed many years ago (the original was written in K & R C, the new version will be written in C++), I stumbled upon The Matrix Template Library (MTL). MTL is a library that provides comprehensive linear algebra functionality for a wide variety of matrix formats. I was [...]
Two Free Computer Algebra Systems
A few months ago I was looking for a free computer algebra system (CAS). For some reason (probably I wasn’t really looking hard enough), I didn’t find anything that the bill. Yesterday, while updating Cygwin on my Windows box at work, I saw a link to something called Mathomatic. I turns out that Mathomatic is [...]