mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Test whether a function type has a Jacobian function by testing whether it has a typedef of "hasJacobian".
Used for compile-time determination of whether the fitter has a Jacobian.
Definition at line 811 of file levmarInterface.hpp.
#include <math/fit/levmarInterface.hpp>
Static Public Attributes | |
static const bool | value = sizeof(test<T>(0)) == sizeof(yes) |
|
static |
If hasJacobian<fitterT>::value == true, then fitterT has a Jacobian and the appropriate levmar routines are used. If ::value == false, then the numerical derivatives are calculated.
Definition at line 828 of file levmarInterface.hpp.