9#include <boost/python/class.hpp>
10#include <boost/python/register_ptr_to_python.hpp>
18 register_ptr_to_python<Jacobian *>();
20 class_<Jacobian, boost::noncopyable>(
"Jacobian", no_init)
21 .def(
"set", &
Jacobian::set, (arg(
"self"), arg(
"iy"), arg(
"ip"), arg(
"value")),
22 "Set an element of the Jacobian matrix where iy=index of data "
23 "point, ip=index of parameter.")
25 .def(
"get", &
Jacobian::get, (arg(
"self"), arg(
"iy"), arg(
"ip")),
26 "Return the given element of the Jacobian matrix where iy=index of "
27 "data point, ip=index of parameter.");
#define GET_POINTER_SPECIALIZATION(TYPE)
Represents the Jacobian in IFitFunction::functionDeriv.
virtual double get(size_t iY, size_t iP)=0
Get the value to a Jacobian matrix element.
virtual void set(size_t iY, size_t iP, double value)=0
Set a value to a Jacobian matrix element.