HQP  1.9.6
Omu_DependentVec Class Referenceabstract

Vector of dependent variables. More...

#include <Omu_Dependents.h>

Inheritance diagram for Omu_DependentVec:
[legend]

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.
 
- Public Member Functions inherited from Omu_Vec
 Omu_Vec ()
 allocate empty vector
 
virtual ~Omu_Vec ()
 destroy vector
 
void resize (int dim)
 resize vector
 
- Public Member Functions inherited from Mesch::VECP
 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_DependentVecoperator= (const Omu_DependentVec &)
 
- Protected Member Functions inherited from Omu_Vec
 Omu_Vec (const Omu_Vec &v)
 protect copy constructor and operator= as they should not be used
 
Omu_Vecoperator= (const Omu_Vec &v)
 

Protected Attributes

bool _required_J
 
- Protected Attributes inherited from Mesch::VECP
VEC * _v
 wrapped VEC*
 

Detailed Description

Vector of dependent variables.


The documentation for this class was generated from the following file: