Adapts a non-const sparse matrix type made up from std::vector<std::map<unsigned int, SCALARTYPE> > to basic ublas-compatibility.
More...
#include <adapter.hpp>
Detailed Description
template<typename SCALARTYPE>
class viennacl::tools::sparse_matrix_adapter< SCALARTYPE >
Adapts a non-const sparse matrix type made up from std::vector<std::map<unsigned int, SCALARTYPE> > to basic ublas-compatibility.
- Template Parameters:
-
| SCALARTYPE | either float or double |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
SCALARTYPE& operator() |
( |
unsigned int |
i, |
|
|
unsigned int |
j | |
|
) |
| | [inline] |
void resize |
( |
unsigned int |
i, |
|
|
unsigned int |
j, |
|
|
bool |
preserve = true | |
|
) |
| | [inline] |
size_t size1 |
( |
|
) |
[inline] |
size_t size1 |
( |
|
) |
const [inline] |
size_t size2 |
( |
|
) |
[inline] |
size_t size2 |
( |
|
) |
const [inline] |
The documentation for this class was generated from the following file:
- /data/development/ViennaCL/dev/viennacl/tools/adapter.hpp