Marine systems simulation
CLinearSystem Class Reference
+ Inheritance diagram for CLinearSystem:
+ Collaboration diagram for CLinearSystem:

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW CLinearSystem (std::string sSimObjectName, ISimObjectCreator *pCreator)
 Constructor.
 
void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
const double * Output (const double T, const double *const X)
 The output of the system equation Y=C*x+D*u.
 

Static Protected Member Functions

static Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > StringToEigenMatrix (const std::string &str)
 

Protected Attributes

int m_StateIndex
 
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > A
 The system matrix.
 
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > B
 The gain matrix.
 
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > C
 The output matrix.
 
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > D
 The direct feedthrough matrix.
 
ISignalPort * m_Input
 Input port.
 
double * m_Signal
 

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