Base class for representing matrices where the individual entries are not all stored explicitly, e.g. identity_matrix<> More...
#include <matrix_def.hpp>
Public Types | |
typedef NumericT const & | const_reference |
typedef NumericT | cpu_value_type |
Public Member Functions | |
size_type | size1 () const |
size_type | size2 () const |
viennacl::context | context () const |
NumericT | value () const |
bool | diag () const |
const_reference | operator() (size_type i, size_type j) const |
Protected Types | |
typedef vcl_size_t | size_type |
Protected Member Functions | |
implicit_matrix_base (size_type size1, size_type size2, NumericT value, bool diag, viennacl::context ctx) | |
Protected Attributes | |
size_type | size1_ |
size_type | size2_ |
NumericT | value_ |
bool | diag_ |
NumericT | off_diag_ |
viennacl::context | ctx_ |
Base class for representing matrices where the individual entries are not all stored explicitly, e.g. identity_matrix<>
Examples are identity_matrix, scalar_matrix, and zero_matrix.
Definition at line 35 of file matrix_def.hpp.
typedef NumericT const& viennacl::implicit_matrix_base< NumericT >::const_reference |
Definition at line 41 of file matrix_def.hpp.
typedef NumericT viennacl::implicit_matrix_base< NumericT >::cpu_value_type |
Definition at line 42 of file matrix_def.hpp.
|
protected |
Definition at line 38 of file matrix_def.hpp.
|
inlineprotected |
Definition at line 39 of file matrix_def.hpp.
|
inline |
Definition at line 46 of file matrix_def.hpp.
|
inline |
Definition at line 48 of file matrix_def.hpp.
|
inline |
Definition at line 50 of file matrix_def.hpp.
|
inline |
Definition at line 44 of file matrix_def.hpp.
|
inline |
Definition at line 45 of file matrix_def.hpp.
|
inline |
Definition at line 47 of file matrix_def.hpp.
|
protected |
Definition at line 61 of file matrix_def.hpp.
|
protected |
Definition at line 59 of file matrix_def.hpp.
|
protected |
Definition at line 60 of file matrix_def.hpp.
|
protected |
Definition at line 56 of file matrix_def.hpp.
|
protected |
Definition at line 57 of file matrix_def.hpp.
|
protected |
Definition at line 58 of file matrix_def.hpp.