|
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 |
|
int | m_inputs |
|
const int | m_values |
|
int | m_values |
|
◆ hybrj_functor()
hybrj_functor::hybrj_functor |
( |
void |
| ) |
|
|
inline |
◆ df()
int hybrj_functor::df |
( |
const VectorXd & |
x, |
|
|
MatrixXd & |
fjac |
|
) |
| |
|
inline |
243 fjac(
k,
k) = 3. - 4. *
x[
k];
244 if (
k) fjac(
k,
k - 1) = -1.;
245 if (
k !=
n - 1) fjac(
k,
k + 1) = -2.;
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
#define assert(e,...)
Definition: Logger.h:744
char char char int int * k
Definition: level2_impl.h:374
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
list x
Definition: plotDoE.py:28
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
References assert, j, k, n, and plotDoE::x.
◆ operator()()
int hybrj_functor::operator() |
( |
const VectorXd & |
x, |
|
|
VectorXd & |
fvec |
|
) |
| |
|
inline |
224 double temp, temp1, temp2;
228 temp = (3. - 2. *
x[
k]) *
x[
k];
230 if (
k) temp1 =
x[
k - 1];
232 if (
k !=
n - 1) temp2 =
x[
k + 1];
233 fvec[
k] = temp - temp1 - 2. * temp2 + 1.;
References assert, k, n, and plotDoE::x.
The documentation for this struct was generated from the following file: