| Tangent numbers |
First order jet spaces, namely K[x]/(x2), are implemented in the class tangent defined in tangent.hpp. They are compatible with all the floating types.
#include<numerix/tangent.hpp>
using namespace mmx;
void main () {
tangent<double> a (2.0, 3.0);
mmout << "a= " << base (a)
<< " + " << slope (a) << " * x + O(x^2)\n";
}