|
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 |
|
◆ my_functor()
my_functor::my_functor |
( |
void |
| ) |
|
|
inline |
◆ actual_df()
int my_functor::actual_df |
( |
const VectorXd & |
x, |
|
|
MatrixXd & |
fjac |
|
) |
| const |
|
inline |
46 double tmp1, tmp2, tmp3, tmp4;
50 tmp3 = (
i >= 8) ? tmp2 : tmp1;
51 tmp4 = (
x[1] * tmp2 +
x[2] * tmp3);
54 fjac(
i, 1) = tmp1 * tmp2 / tmp4;
55 fjac(
i, 2) = tmp1 * tmp3 / tmp4;
int i
Definition: BiCGSTAB_step_by_step.cpp:9
list x
Definition: plotDoE.py:28
int values() const
Definition: NonLinearOptimization.cpp:110
References i, Functor< double >::values(), and plotDoE::x.
Referenced by test_central(), and test_forward().
◆ operator()()
int my_functor::operator() |
( |
const VectorXd & |
x, |
|
|
VectorXd & |
fvec |
|
) |
| const |
|
inline |
32 double tmp1, tmp2, tmp3;
33 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,
34 3.7e-1, 5.8e-1, 7.3e-1, 9.6e-1, 1.34, 2.1, 4.39};
39 tmp3 = (
i >= 8) ? tmp2 : tmp1;
40 fvec[
i] =
y[
i] - (
x[0] + tmp1 / (
x[1] * tmp2 +
x[2] * tmp3));
Scalar * y
Definition: level1_cplx_impl.h:128
References i, Functor< double >::values(), plotDoE::x, and y.
The documentation for this struct was generated from the following file: