TMequation Struct Reference

Detailed Description

Matrix equation. This is basically an addition of transformation sequences (products) that must be equal to the identity (or to zero in some cases).

Each matrix equation defines a set of scalar equations according to the dof involved in the transformation product sequences. Typically there are 6 equations (the diagonal of the rotation part plust the translation) but they can be less if only one type of rotation is involved or one type of translation, etc).

See Also
mequation.h, mequation.c.

Definition at line 38 of file mequation.h.

Data Fields

boolean simp
 
unsigned int n
 
TTransSeq ** ts
 
THTransform rhs
 
unsigned int neq
 
unsigned int r [MAX_EQ_MATRIX]
 
unsigned int c [MAX_EQ_MATRIX]
 

Field Documentation

boolean TMequation::simp

TRUE if the matrix equation is already simplified. Nothing else can be added to the matrix equation once simplified.

Definition at line 39 of file mequation.h.

Referenced by AddCtTrans2MEquation(), AddPatchTrans2MEquation(), AddTransSeq2MEquation(), AddVarTrans2MEquation(), CopyMEquation(), DeriveMEquation(), InitMEquation(), ResetMEquation(), SetTranslationMEquation(), SimplifiedMEquation(), and SimplifyMEquation().

THTransform TMequation::rhs

Right hand side value.

Definition at line 44 of file mequation.h.

Referenced by CopyMEquation(), DeleteMEquation(), DeriveMEquation(), EvaluateMEquation(), InitMEquation(), PrintMEquation(), and ResetMEquation().

unsigned int TMequation::neq
unsigned int TMequation::r[MAX_EQ_MATRIX]

Row for the i-th scalar equation.

Definition at line 48 of file mequation.h.

Referenced by CopyMEquation(), DeriveMEquation(), EvaluateMEquation(), RecomputeScalarEquations(), and SetTranslationMEquation().

unsigned int TMequation::c[MAX_EQ_MATRIX]

Column of the i-th scalar equation.

Definition at line 49 of file mequation.h.

Referenced by CopyMEquation(), DeriveMEquation(), EvaluateMEquation(), RecomputeScalarEquations(), and SetTranslationMEquation().