Sparse matrix class using a hybrid format composed of the ELL and CSR format for storing the nonzeros. More...
#include <forwards.h>
Public Types | |
typedef viennacl::backend::mem_handle | handle_type |
typedef scalar< typename viennacl::tools::CHECK_SCALAR_TEMPLATE_ARGUMENT < NumericT >::ResultType > | value_type |
Public Member Functions | |
hyb_matrix () | |
hyb_matrix (viennacl::context ctx) | |
void | clear () |
Resets all entries in the matrix back to zero without changing the matrix size. Resets the sparsity pattern. More... | |
NumericT | csr_threshold () const |
void | csr_threshold (NumericT thr) |
vcl_size_t | internal_size1 () const |
vcl_size_t | internal_size2 () const |
vcl_size_t | size1 () const |
vcl_size_t | size2 () const |
vcl_size_t | internal_ellnnz () const |
vcl_size_t | ell_nnz () const |
vcl_size_t | csr_nnz () const |
const handle_type & | handle () const |
const handle_type & | handle2 () const |
const handle_type & | handle3 () const |
const handle_type & | handle4 () const |
const handle_type & | handle5 () const |
Friends | |
template<typename CPUMatrixT , typename T , unsigned int ALIGN> | |
void | copy (const CPUMatrixT &cpu_matrix, hyb_matrix< T, ALIGN > &gpu_matrix) |
Sparse matrix class using a hybrid format composed of the ELL and CSR format for storing the nonzeros.
Definition at line 406 of file forwards.h.
typedef viennacl::backend::mem_handle viennacl::hyb_matrix< SCALARTYPE, ALIGNMENT >::handle_type |
Definition at line 41 of file hyb_matrix.hpp.
typedef scalar<typename viennacl::tools::CHECK_SCALAR_TEMPLATE_ARGUMENT<NumericT>::ResultType> viennacl::hyb_matrix< SCALARTYPE, ALIGNMENT >::value_type |
Definition at line 42 of file hyb_matrix.hpp.
|
inline |
Definition at line 44 of file hyb_matrix.hpp.
|
inline |
Definition at line 46 of file hyb_matrix.hpp.
|
inline |
Resets all entries in the matrix back to zero without changing the matrix size. Resets the sparsity pattern.
Definition at line 69 of file hyb_matrix.hpp.
|
inline |
Definition at line 103 of file hyb_matrix.hpp.
|
inline |
Definition at line 92 of file hyb_matrix.hpp.
|
inline |
Definition at line 93 of file hyb_matrix.hpp.
|
inline |
Definition at line 102 of file hyb_matrix.hpp.
|
inline |
Definition at line 105 of file hyb_matrix.hpp.
|
inline |
Definition at line 106 of file hyb_matrix.hpp.
|
inline |
Definition at line 107 of file hyb_matrix.hpp.
|
inline |
Definition at line 108 of file hyb_matrix.hpp.
|
inline |
Definition at line 109 of file hyb_matrix.hpp.
|
inline |
Definition at line 101 of file hyb_matrix.hpp.
|
inline |
Definition at line 95 of file hyb_matrix.hpp.
|
inline |
Definition at line 96 of file hyb_matrix.hpp.
|
inline |
Definition at line 98 of file hyb_matrix.hpp.
|
inline |
Definition at line 99 of file hyb_matrix.hpp.
|
friend |