NABLA
Nabla Ain't Basic Linear Algebra
|
Matrix product template class. More...
Public Types | |
typedef const value_type | const_reference |
Type of reference to constant element. | |
typedef deduced_value_type | value_type |
Type of elements. |
Public Member Functions | |
product (const util::pair_const_ref< expr1, expr2 > &p) | |
Initializing constructor. | |
size_t | cols () const |
Returns number of columns. | |
const_reference | operator() (size_t r, size_t c) const |
Subscript operator. | |
size_t | rows () const |
Returns number of rows. |
Private Member Functions | |
product (const product &) | |
Inaccessible copy constructor. | |
product & | operator= (const product &) |
Inaccessible copy assignment operator. |
Matrix product template class.
This class represents a matrix product expression.
|
inline |
Subscript operator.
Note that this operator is implemented in terms of sum_of_products()
.
Definition at line 4751 of file matrix.h.
References nabla::column(), nabla::row(), and nabla::sum_of_products().