#include <Omu_Dependents.h>


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 |
| Omu_Jacobian::Omu_Jacobian | ( | ) |
Create an empty matrix.
| Omu_Jacobian::~Omu_Jacobian | ( | ) |
Free memory.
| 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.
.