1 #ifndef MATH_SELF_TEST_H 2 #define MATH_SELF_TEST_H 12 void VectorSelfTest();
13 void MatrixSelfTest();
14 void DifferentiationSelfTest();
15 void QuadratureSelfTest();
16 void BlockVectorSelfTest();
17 void BlockMatrixSelfTest();
19 void LAPACKSelfTest();
23 class ScalarFieldFunction;
24 class VectorFieldFunction;
28 bool TestDeriv(RealFunction* f,Real t,Real h,Real atol,Real rtol);
29 bool TestDeriv(VectorFunction* f,Real t,Real h,Real atol,Real rtol);
30 bool TestGradient(ScalarFieldFunction* f,Vector& x,Real h,Real atol,Real rtol);
31 bool TestJacobian(VectorFieldFunction* f,Vector& x,Real h,Real atol,Real rtol);
32 bool TestDeriv2(RealFunction* f,Real t,Real h,Real atol,Real rtol);
33 bool TestDeriv2(VectorFunction* f,Real t,Real h,Real atol,Real rtol);
34 bool TestHessian(ScalarFieldFunction* f,Vector& x,Real h,Real atol,Real rtol);
36 bool TestGradients(ScalarFieldFunction* f,Vector& x,Real h,Real atol,Real rtol);
37 bool TestJacobians(VectorFieldFunction* f,Vector& x,Real h,Real atol,Real rtol);
38 bool TestHessians(VectorFieldFunction* f,Vector& x,Real h,Real atol,Real rtol);
Common math typedefs, constants, functions.
bool TestDeriv(RealFunction *f, Real t, Real h, Real atol, Real rtol)
Definition: math/SelfTest.cpp:506
bool TestGradients(ScalarFieldFunction *f, Vector &x, Real h, Real atol, Real rtol)
these versions test the methods Gradient_i, Jacobian_i, etc.
Definition: math/SelfTest.cpp:556
The logging system used in KrisLibrary.
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12