NABLA  Nabla Ain't Basic Linear Algebra
Public Types | Public Member Functions | Private Member Functions | List of all members
product< expression1, expression2 > Class Template Reference

Matrix product template class. More...

Inheritance diagram for product< expression1, expression2 >:
Inheritance graph

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.
productoperator= (const product &)
 Inaccessible copy assignment operator.

Detailed Description

template<typename expression1, typename expression2>
class nabla::product< expression1, expression2 >

Matrix product template class.

This class represents a matrix product expression.

See Also
product<expression_type, vector_expression<value_t, expr_t, tag_t> >, matrix_expression

Definition at line 4725 of file matrix.h.

Member Function Documentation

const_reference operator() ( size_t  r,
size_t  c 
) const
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().


The documentation for this class was generated from the following file: