NABLA
Nabla Ain't Basic Linear Algebra
|
Scaled expression template class. More...
Public Types | |
typedef const value_type | const_reference |
Type of reference to constant element. | |
typedef expr_t::value_type | value_type |
Type of elements. |
Public Member Functions | |
scaled (const scaled &a) | |
Copy constructor. | |
scaled (const expr_t &a, const_reference s) | |
Initializing constructor. | |
size_t | cols () const |
Returns number of columns. | |
const_reference | operator() (size_t row, size_t col) const |
Subscript operator. | |
size_t | rows () const |
Returns number of rows. |
Private Member Functions | |
scaled & | operator= (const scaled &) |
Inaccessible copy assignment operator. |
Scaled expression template class.
This class represents a matrix expression with scaled elements.