ecolab::sparse_mat Class Reference

sparse matrix class More...

#include <sparse_mat.h>

Collaboration diagram for ecolab::sparse_mat:
Collaboration graph

Public Member Functions

 sparse_mat (int s=0, int o=0)
 
 sparse_mat (const sparse_mat &x)
 
template<class E >
array_ns::enable_if< array_ns::is_expression< E >, array_ns::array< double > >::T operator* (const E &x)
 
sparse_matoperator= (const sparse_mat &x)
 
sparse_mat submat (unsigned min, unsigned max)
 
void insert (const sparse_mat &x, unsigned where, unsigned old_size)
 
void init_rand (unsigned conn, double sigma)
 

Public Attributes

unsigned rowsz
 
unsigned colsz
 
array_ns::array< double > diag
 
array_ns::array< double > val
 
array_ns::array< unsigned > row
 
array_ns::array< unsigned > col
 

Detailed Description

sparse matrix class


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