HQP
1.9.6
|
Vector of dependent variables. More...
#include <Omu_Dependents.h>
Public Member Functions | |
virtual void | set_linear (int wrt=Omu_Dependent::WRT_ALL, bool value=true)=0 |
Mark linear dependency. | |
virtual bool | is_linear (int wrt=Omu_Dependent::WRT_ALL) const =0 |
Query if a dependency is linear. | |
virtual void | set_linear_element (int i, int wrt=Omu_Dependent::WRT_ALL, bool value=true)=0 |
Mark linear element of dependent vector. | |
virtual bool | is_linear_element (int i, int wrt=Omu_Dependent::WRT_ALL) const =0 |
Query if an element of the dependent vector is linear. | |
virtual void | set_linear_variable (int wrt, int j, bool value=true)=0 |
Mark a variable that appears linear in all elements. | |
virtual bool | is_linear_variable (int wrt, int j) const =0 |
Query if a variable is linear in all elements. | |
void | set_required_J (bool value=true) |
Set flag indicating that Jacobians are required. | |
bool | is_required_J () const |
Query if Jacobians are required when dependent vector is evaluated. | |
![]() | |
Omu_Vec () | |
allocate empty vector | |
virtual | ~Omu_Vec () |
destroy vector | |
void | resize (int dim) |
resize vector | |
![]() | |
VECP () | |
VECP (VEC *cv) | |
VEC * | operator= (VEC *nv) |
Real & | operator[] (int j) |
VEC * | operator-> () |
operator VEC * () | |
operator const VEC * () | |
const Real & | operator[] (int j) const |
const VEC * | operator-> () const |
operator const VEC * () const | |
Public Attributes | |
Omu_Jacobian | Jx |
Jacobian wrt x (initial states of sample period) | |
Omu_Jacobian | Ju |
Jacobian wrt u (control parameters of stage) | |
Omu_Jacobian | Jdx |
Jacobian wrt dx (time derivative of x) | |
Omu_Jacobian | Jxf |
Jacobian wrt xf (final states of sample period) | |
Omu_Jacobian | Jq |
Jacobian wrt q (sensitivity parameters) | |
Protected Member Functions | |
Omu_DependentVec (const Omu_DependentVec &) | |
Omu_DependentVec & | operator= (const Omu_DependentVec &) |
![]() | |
Omu_Vec (const Omu_Vec &v) | |
protect copy constructor and operator= as they should not be used | |
Omu_Vec & | operator= (const Omu_Vec &v) |
Protected Attributes | |
bool | _required_J |
![]() | |
VEC * | _v |
wrapped VEC* | |
Vector of dependent variables.