ViennaCL - The Vienna Computing Library
1.5.1
|
Base class for representing matrices where the individual entries are not all stored explicitly, e.g. identity_matrix<> More...
#include <forwards.h>
Public Types | |
typedef SCALARTYPE const & | const_reference |
typedef SCALARTYPE | cpu_value_type |
Public Member Functions | |
size_type | size1 () const |
size_type | size2 () const |
SCALARTYPE | value () const |
bool | is_value_static () 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, std::pair< SCALARTYPE, bool > value, bool diag) | |
Protected Attributes | |
size_type | size1_ |
size_type | size2_ |
std::pair< SCALARTYPE, bool > | value_ |
bool | diag_ |
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.
typedef SCALARTYPE const& const_reference |
typedef SCALARTYPE cpu_value_type |
|
protected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |