Template object created to solve non linear problems using the Eigen library. More...
#include <newton_argument.H>
Public Types | |
| enum | { InputsAtCompileTime = NX , ValuesAtCompileTime = NY } |
| typedef _Scalar | Scalar |
| typedef Eigen::Matrix< Scalar, InputsAtCompileTime, 1 > | InputType |
| typedef Eigen::Matrix< Scalar, ValuesAtCompileTime, 1 > | ValueType |
| typedef Eigen::Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > | JacobianType |
Public Member Functions | |
| newton_argument () | |
| Constructor. | |
| newton_argument (int inputs, int values) | |
| Constructor. | |
| int | operator() (const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const |
| Operator to compute the residual vector. | |
| int | df (const Eigen::VectorXd &x, Eigen::VectorXd &fvec) const |
| Operator to compute the jacobian matrix. | |
| int | inputs () const |
| Return the inputs. | |
| int | values () const |
| Return the values. | |
Public Attributes | |
| int | m_inputs |
| int | m_values |
Template object created to solve non linear problems using the Eigen library.
Definition at line 44 of file newton_argument.H.
| typedef Eigen::Matrix<Scalar, InputsAtCompileTime, 1> newton_argument< _Scalar, NX, NY >::InputType |
Definition at line 53 of file newton_argument.H.
| typedef Eigen::Matrix<Scalar, ValuesAtCompileTime, InputsAtCompileTime> newton_argument< _Scalar, NX, NY >::JacobianType |
Definition at line 56 of file newton_argument.H.
| typedef _Scalar newton_argument< _Scalar, NX, NY >::Scalar |
Definition at line 47 of file newton_argument.H.
| typedef Eigen::Matrix<Scalar, ValuesAtCompileTime, 1> newton_argument< _Scalar, NX, NY >::ValueType |
Definition at line 54 of file newton_argument.H.
| anonymous enum |
| Enumerator | |
|---|---|
| InputsAtCompileTime | |
| ValuesAtCompileTime | |
Definition at line 48 of file newton_argument.H.
|
inline |
Constructor.
Definition at line 63 of file newton_argument.H.
|
inline |
Constructor.
| [in] | inputs | The inputs |
| [in] | values | The values |
Definition at line 71 of file newton_argument.H.
|
inline |
Operator to compute the jacobian matrix.
| [in] | x | The x value used to compute the jacobian |
| fvec | The jacobian vector |
Definition at line 96 of file newton_argument.H.
|
inline |
|
inline |
Operator to compute the residual vector.
| [in] | x | The x value used to compute the residual |
| fvec | The residual vector |
Definition at line 81 of file newton_argument.H.
|
inline |
| int newton_argument< _Scalar, NX, NY >::m_inputs |
Definition at line 58 of file newton_argument.H.
| int newton_argument< _Scalar, NX, NY >::m_values |
Definition at line 58 of file newton_argument.H.
1.13.2