|
| SPARSEMATRIXN (StorageType s) |
|
| SPARSEMATRIXN (StorageType s, unsigned m, unsigned n, const std::map< std::pair< unsigned, unsigned >, REAL > &values) |
|
| SPARSEMATRIXN (StorageType s, unsigned m, unsigned n, boost::shared_array< unsigned > ptr, boost::shared_array< unsigned > indices, boost::shared_array< REAL > data) |
|
| SPARSEMATRIXN (const MATRIXN &m, REAL tol=EPS) |
|
| SPARSEMATRIXN (StorageType s, const MATRIXN &m, REAL tol=EPS) |
|
REAL | norm_inf () const |
|
VECTORN & | mult (const VECTORN &x, VECTORN &result) const |
|
VECTORN & | transpose_mult (const VECTORN &x, VECTORN &result) const |
|
MATRIXN & | mult (const MATRIXN &m, MATRIXN &result) const |
|
MATRIXN & | mult_transpose (const MATRIXN &m, MATRIXN &result) const |
|
MATRIXN & | transpose_mult (const MATRIXN &m, MATRIXN &result) const |
|
MATRIXN & | transpose_mult_transpose (const MATRIXN &m, MATRIXN &result) const |
|
unsigned | rows () const |
|
unsigned | columns () const |
|
SPARSEMATRIXN | get_sub_mat (unsigned rstart, unsigned rend, unsigned cstart, unsigned cend) const |
|
SPARSEVECTORN & | get_row (unsigned i, SPARSEVECTORN &row) const |
|
SPARSEVECTORN & | get_column (unsigned i, SPARSEVECTORN &column) const |
|
VECTORN & | get_row (unsigned i, VECTORN &row) const |
|
VECTORN & | get_column (unsigned i, VECTORN &column) const |
|
const unsigned * | get_indices () const |
|
const unsigned * | get_ptr () const |
|
const REAL * | get_data () const |
|
void | set_row (unsigned i, const VECTORN &v) |
|
void | set_column (unsigned i, const VECTORN &v) |
|
SPARSEMATRIXN & | operator= (const SPARSEMATRIXN &m) |
|
SPARSEMATRIXN & | operator-= (const SPARSEMATRIXN &m) |
|
SPARSEMATRIXN & | operator+= (const SPARSEMATRIXN &m) |
|
SPARSEMATRIXN & | operator*= (REAL scalar) |
|
SPARSEMATRIXN & | negate () |
|
MATRIXN & | to_dense (MATRIXN &m) const |
|
void | set_capacities (unsigned nnz_capacity, unsigned ptr_capacity, bool preserve) |
|
void | get_values (std::map< std::pair< unsigned, unsigned >, REAL > &values) const |
|
StorageType | get_storage_type () const |
| Gets the storage type.
|
|
unsigned * | get_indices () |
| Gets the column (row, if CSC) indices of the nonzeros (sized get_nnz()
|
|
unsigned * | get_ptr () |
| Gets the row (column, if CSC) pointers.
|
|
REAL * | get_data () |
| Gets the array of nonzeros (sized get_nnz())
|
|
unsigned | get_nnz () const |
| Gets the number of nonzeros.
|
|
| SPARSEMATRIXN (StorageType s) |
|
| SPARSEMATRIXN (StorageType s, unsigned m, unsigned n, const std::map< std::pair< unsigned, unsigned >, REAL > &values) |
|
| SPARSEMATRIXN (StorageType s, unsigned m, unsigned n, boost::shared_array< unsigned > ptr, boost::shared_array< unsigned > indices, boost::shared_array< REAL > data) |
|
| SPARSEMATRIXN (const MATRIXN &m, REAL tol=EPS) |
|
| SPARSEMATRIXN (StorageType s, const MATRIXN &m, REAL tol=EPS) |
|
REAL | norm_inf () const |
|
VECTORN & | mult (const VECTORN &x, VECTORN &result) const |
|
VECTORN & | transpose_mult (const VECTORN &x, VECTORN &result) const |
|
MATRIXN & | mult (const MATRIXN &m, MATRIXN &result) const |
|
MATRIXN & | mult_transpose (const MATRIXN &m, MATRIXN &result) const |
|
MATRIXN & | transpose_mult (const MATRIXN &m, MATRIXN &result) const |
|
MATRIXN & | transpose_mult_transpose (const MATRIXN &m, MATRIXN &result) const |
|
unsigned | rows () const |
|
unsigned | columns () const |
|
SPARSEMATRIXN | get_sub_mat (unsigned rstart, unsigned rend, unsigned cstart, unsigned cend) const |
|
SPARSEVECTORN & | get_row (unsigned i, SPARSEVECTORN &row) const |
|
SPARSEVECTORN & | get_column (unsigned i, SPARSEVECTORN &column) const |
|
VECTORN & | get_row (unsigned i, VECTORN &row) const |
|
VECTORN & | get_column (unsigned i, VECTORN &column) const |
|
const unsigned * | get_indices () const |
|
const unsigned * | get_ptr () const |
|
const REAL * | get_data () const |
|
void | set_row (unsigned i, const VECTORN &v) |
|
void | set_column (unsigned i, const VECTORN &v) |
|
SPARSEMATRIXN & | operator= (const SPARSEMATRIXN &m) |
|
SPARSEMATRIXN & | operator-= (const SPARSEMATRIXN &m) |
|
SPARSEMATRIXN & | operator+= (const SPARSEMATRIXN &m) |
|
SPARSEMATRIXN & | operator*= (REAL scalar) |
|
SPARSEMATRIXN & | negate () |
|
MATRIXN & | to_dense (MATRIXN &m) const |
|
void | set_capacities (unsigned nnz_capacity, unsigned ptr_capacity, bool preserve) |
|
void | get_values (std::map< std::pair< unsigned, unsigned >, REAL > &values) const |
|
StorageType | get_storage_type () const |
| Gets the storage type.
|
|
unsigned * | get_indices () |
| Gets the column (row, if CSC) indices of the nonzeros (sized get_nnz()
|
|
unsigned * | get_ptr () |
| Gets the row (column, if CSC) pointers.
|
|
REAL * | get_data () |
| Gets the array of nonzeros (sized get_nnz())
|
|
unsigned | get_nnz () const |
| Gets the number of nonzeros.
|
|