Tangent numbers |
First order jet spaces, namely , 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";
}