|
enum | |
|
typedef double | Scalar |
|
typedef Matrix< Scalar, InputsAtCompileTime, 1 > | InputType |
|
typedef Matrix< Scalar, ValuesAtCompileTime, 1 > | ValueType |
|
typedef Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > | JacobianType |
|
typedef ColPivHouseholderQR< JacobianType > | QRSolver |
|
enum | |
|
enum | |
|
typedef double | Scalar |
|
typedef double | Scalar |
|
typedef Matrix< Scalar, InputsAtCompileTime, 1 > | InputType |
|
typedef Matrix< Scalar, InputsAtCompileTime, 1 > | InputType |
|
typedef Matrix< Scalar, ValuesAtCompileTime, 1 > | ValueType |
|
typedef Matrix< Scalar, ValuesAtCompileTime, 1 > | ValueType |
|
typedef Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > | JacobianType |
|
typedef Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > | JacobianType |
|
const int | m_inputs |
|
const int | m_values |
|
const int | m_inputs |
|
int | m_inputs |
|
const int | m_values |
|
int | m_values |
|
◆ lmdif_functor() [1/2]
lmdif_functor::lmdif_functor |
( |
void |
| ) |
|
|
inline |
◆ lmdif_functor() [2/2]
lmdif_functor::lmdif_functor |
( |
void |
| ) |
|
|
inline |
◆ operator()() [1/2]
int lmdif_functor::operator() |
( |
const VectorXd & |
x, |
|
|
VectorXd & |
fvec |
|
) |
| const |
|
inline |
136 double tmp1, tmp2, tmp3;
137 static const double y[15] = {1.4e-1, 1.8e-1, 2.2e-1, 2.5e-1, 2.9e-1, 3.2e-1, 3.5e-1, 3.9e-1,
138 3.7e-1, 5.8e-1, 7.3e-1, 9.6e-1, 1.34e0, 2.1e0, 4.39e0};
141 assert(fvec.size() == 15);
142 for (
i = 0;
i < 15;
i++) {
147 if (
i >= 8) tmp3 = tmp2;
148 fvec[
i] =
y[
i] - (
x[0] + tmp1 / (
x[1] * tmp2 +
x[2] * tmp3));
int i
Definition: BiCGSTAB_step_by_step.cpp:9
#define assert(e,...)
Definition: Logger.h:744
Scalar * y
Definition: level1_cplx_impl.h:128
list x
Definition: plotDoE.py:28
References assert, i, plotDoE::x, and y.
◆ operator()() [2/2]
int lmdif_functor::operator() |
( |
const VectorXd & |
x, |
|
|
VectorXd & |
fvec |
|
) |
| const |
|
inline |
481 double tmp1, tmp2, tmp3;
482 static const double y[15] = {1.4e-1, 1.8e-1, 2.2e-1, 2.5e-1, 2.9e-1, 3.2e-1, 3.5e-1, 3.9e-1,
483 3.7e-1, 5.8e-1, 7.3e-1, 9.6e-1, 1.34e0, 2.1e0, 4.39e0};
486 assert(fvec.size() == 15);
487 for (
i = 0;
i < 15;
i++) {
492 if (
i >= 8) tmp3 = tmp2;
493 fvec[
i] =
y[
i] - (
x[0] + tmp1 / (
x[1] * tmp2 +
x[2] * tmp3));
References assert, i, plotDoE::x, and y.
The documentation for this struct was generated from the following files: