Matrix extended with structural information for a Jacobian.
More...
#include <Omu_Dependents.h>
|
| Omu_Jacobian () |
| Create an empty matrix. More...
|
|
| ~Omu_Jacobian () |
| Free memory. More...
|
|
|
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,...,min(nrows,ncols)-1)
|
|
bool | is_constant () const |
| constant matrix
|
|
int | sbw () const |
| semi-bandwidth, i.e. More...
|
|
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
|
|
| MATP () |
|
| MATP (MAT *cm) |
|
MAT * | operator= (MAT *nm) |
|
Real * | operator[] (int i) |
|
MAT * | operator-> () |
|
| operator MAT * () |
|
| operator const MAT * () |
|
const Real * | operator[] (int i) const |
|
const MAT * | operator-> () const |
|
| operator const MAT * () const |
|
|
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 |
|
MAT * | _m |
| wrapped MAT*
|
|
Matrix extended with structural information for a Jacobian.
Omu_Jacobian::Omu_Jacobian |
( |
| ) |
|
Omu_Jacobian::~Omu_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.
int Omu_Jacobian::sbw |
( |
| ) |
const |
|
inline |
semi-bandwidth, i.e.
number of side diagonals
References max.
void Omu_Jacobian::size |
( |
int |
nrows, |
|
|
int |
ncols |
|
) |
| |
|
protected |
Allocate and initialize Jacobian.
The documentation for this class was generated from the following file: