Omu_Jacobian Class Reference

#include <Omu_Dependents.h>

Inheritance diagram for Omu_Jacobian:

Inheritance graph
base refererrect $classMesch_1_1MATP.html 11,7 115,34
[legend]
Collaboration diagram for Omu_Jacobian:

Collaboration graph
base refererrect $classMesch_1_1MATP.html 7,7 111,34rect $classMesch_1_1IVECP.html 135,7 244,34
[legend]

List of all members.


Detailed Description

Matrix extended with structural information for a Jacobian.


Public Member Functions

 Omu_Jacobian ()
 Create an empty matrix.
 ~Omu_Jacobian ()
 Free memory.
Query properties of Jacobian matrix.
The properties are checked with analyze_struct().

bool is_zero () const
 zero matrix
bool is_diagonal () const
 diagonal matrix
bool is_ident () const
 identity matrix
bool is_scalar_constant () const
 constant scalar matrix (is_constant and is_diagonal and J[i][i]==J[0][0], i = 1,.
bool is_constant () const
 constant matrix
int sbw () const
 semi-bandwidth, i.e.
int sbw_lower () const
 lower semi-bandwidth
int sbw_upper () const
 upper semi-bandwidth
bool is_zero_row (int i) const
 row i is zero
bool is_zero_column (int j) const
 column j is zero

Protected Member Functions

void size (int nrows, int ncols)
 Allocate and initialize Jacobian.
void adapt_size (int nrows)
 Resize dimension without reinitializing memory.
void analyze_struct (bool is_constant)
 Obtain properties for current matrix.

Protected Attributes

bool _is_zero
bool _is_ident
bool _is_scalar_constant
bool _is_constant
int _sbw_lower
int _sbw_upper
IVECP _zero_rows
IVECP _zero_cols

Friends

class Omu_DepVec


Constructor & Destructor Documentation

Omu_Jacobian::Omu_Jacobian (  ) 

Create an empty matrix.

Omu_Jacobian::~Omu_Jacobian (  ) 

Free memory.


Member Function Documentation

bool Omu_Jacobian::is_scalar_constant (  )  const [inline]

constant scalar matrix (is_constant and is_diagonal and J[i][i]==J[0][0], i = 1,.

..,min(nrows,ncols)-1)

int Omu_Jacobian::sbw (  )  const [inline]

semi-bandwidth, i.e.

number of side diagonals

void Omu_Jacobian::size ( int  nrows,
int  ncols 
) [protected]

Allocate and initialize Jacobian.

void Omu_Jacobian::adapt_size ( int  nrows  )  [protected]

Resize dimension without reinitializing memory.

Argument nrows must not be larger than allocated nrows.

void Omu_Jacobian::analyze_struct ( bool  is_constant  )  [protected]

Obtain properties for current matrix.


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

HQP is hosted at SourceForge. Documentation generated on Sat Nov 8 14:21:33 2008 using doxygen.