ViennaCL - The Vienna Computing Library
1.5.2
|
Base class for representing matrices where the individual entries are not all stored explicitly, e.g. identity_matrix<> More...
#include <matrix.hpp>
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 |
typedef vcl_size_t size_type [protected] |
implicit_matrix_base | ( | size_type | size1, |
size_type | size2, | ||
std::pair< SCALARTYPE, bool > | value, | ||
bool | diag | ||
) | [inline, protected] |
bool diag | ( | ) | const [inline] |
bool is_value_static | ( | ) | const [inline] |
const_reference operator() | ( | size_type | i, |
size_type | j | ||
) | const [inline] |
SCALARTYPE value | ( | ) | const [inline] |
bool diag_ [protected] |
std::pair<SCALARTYPE, bool> value_ [protected] |