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

Binary expression template class. More...

Inheritance diagram for binary< expression1, expression2, op >:
Inheritance graph

Public Types

typedef const value_type const_reference
 Type of reference to constant element.
typedef op< typename
expr1::value_type, typename
expr2::value_type >
::result_type 
value_type
 Type of elements.

Public Member Functions

 binary (const util::pair_const_ref< expr1, expr2 > &p)
 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

 binary (const binary &)
 Inaccessible copy constructor.
binaryoperator= (const binary &)
 Inaccessible copy assignment operator.

Detailed Description

template<typename expression1, typename expression2, template< typename, typename > class op>
class nabla::binary< expression1, expression2, op >

Binary expression template class.

This class represents a binary matrix expression.

See Also
binary<vector_expression<value_t, expr_t, tag_t>, vector_expression<value_t, expr_t, tag_t>, op>, matrix_expression

Definition at line 4148 of file matrix.h.


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