ViennaCL - The Vienna Computing Library  1.5.2
Public Types | Public Member Functions
matrix_expression< LHS, RHS, OP > Class Template Reference

Expression template class for representing a tree of expressions which ultimately result in a matrix. More...

#include <matrix.hpp>

Public Types

typedef vcl_size_t size_type

Public Member Functions

 matrix_expression (LHS &lhs, RHS &rhs)
LHS & lhs () const
 Get left hand side operand.
RHS & rhs () const
 Get right hand side operand.
vcl_size_t size1 () const
 Returns the size of the result vector.
vcl_size_t size2 () const

Detailed Description

template<typename LHS, typename RHS, typename OP>
class viennacl::matrix_expression< LHS, RHS, OP >

Expression template class for representing a tree of expressions which ultimately result in a matrix.

Template Parameters:
LHSThe left hand side of the expression tree
RHSThe right hand side of the expression tree
OPThe operator to apply to LHS and RHS to obtain the result.

Member Typedef Documentation


Constructor & Destructor Documentation

matrix_expression ( LHS &  lhs,
RHS &  rhs 
) [inline]

Member Function Documentation

LHS& lhs ( ) const [inline]

Get left hand side operand.

RHS& rhs ( ) const [inline]

Get right hand side operand.

vcl_size_t size1 ( ) const [inline]

Returns the size of the result vector.

vcl_size_t size2 ( ) const [inline]

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