Mantid
|
A Jacobian for individual functions. More...
#include <CompositeFunction.h>
Public Member Functions | |
void | addNumberToColumn (const double &value, const size_t &iP) override |
Add number to all iY (data) Jacobian elements for a given iP (parameter) More... | |
double | get (size_t iY, size_t iP) override |
Overridden Jacobian::get(...). More... | |
PartialJacobian (Jacobian *J, size_t iP0) | |
particular function More... | |
PartialJacobian (Jacobian *J, size_t iY0, size_t iP0) | |
Constructor. More... | |
void | set (size_t iY, size_t iP, double value) override |
Overridden Jacobian::set(...). More... | |
void | zero () override |
Zero all matrix elements. More... | |
Public Member Functions inherited from Mantid::API::Jacobian | |
virtual double | get (size_t iY, size_t iP)=0 |
Get the value to a Jacobian matrix element. More... | |
virtual void | set (size_t iY, size_t iP, double value)=0 |
Set a value to a Jacobian matrix element. More... | |
virtual void | zero ()=0 |
Zero all matrix elements. More... | |
virtual | ~Jacobian ()=default |
Virtual destructor. More... | |
Private Attributes | |
size_t | m_iP0 |
particular function More... | |
size_t | m_iY0 |
fitting data index offset in the overall Jacobian for a More... | |
Jacobian * | m_J |
pointer to the overall Jacobian More... | |
A Jacobian for individual functions.
Definition at line 267 of file CompositeFunction.h.
|
inline |
particular function
Constructor
J | :: A pointer to the overall Jacobian |
iP0 | :: The parameter index (declared) offset for a particular function |
Definition at line 279 of file CompositeFunction.h.
|
inline |
Constructor.
J | :: A pointer to the overall Jacobian |
iY0 | :: The data index offset for a particular function |
iP0 | :: The parameter index offset for a particular function |
Definition at line 287 of file CompositeFunction.h.
|
inlineoverride |
|
inlineoverridevirtual |
Overridden Jacobian::get(...).
iY | :: The index of the data point |
iP | :: The parameter index of an individual function. |
Implements Mantid::API::Jacobian.
Definition at line 300 of file CompositeFunction.h.
References Mantid::API::Jacobian::get(), m_iP0, m_iY0, and m_J.
|
inlineoverridevirtual |
Overridden Jacobian::set(...).
iY | :: The index of the data point |
iP | :: The parameter index of an individual function. |
value | :: The derivative value |
Implements Mantid::API::Jacobian.
Definition at line 294 of file CompositeFunction.h.
References m_iP0, m_iY0, m_J, Mantid::API::Jacobian::set(), and value.
|
inlineoverridevirtual |
Zero all matrix elements.
Implements Mantid::API::Jacobian.
Definition at line 303 of file CompositeFunction.h.
|
private |
particular function
parameter index offset in the overall Jacobian for a
Definition at line 271 of file CompositeFunction.h.
Referenced by addNumberToColumn(), get(), and set().
|
private |
fitting data index offset in the overall Jacobian for a
Definition at line 269 of file CompositeFunction.h.
|
private |
pointer to the overall Jacobian
Definition at line 268 of file CompositeFunction.h.
Referenced by addNumberToColumn(), get(), and set().