Public Types | Public Member Functions

matrix_range< MatrixType > Class Template Reference

#include <matrix_proxy.hpp>

Public Types

typedef MatrixType::value_type value_type
typedef range::size_type size_type
typedef range::difference_type difference_type
typedef value_type reference
typedef const value_typeconst_reference

Public Member Functions

 matrix_range (MatrixType &A, range const &row_range, range const &col_range)
size_type start1 () const
size_type size1 () const
size_type start2 () const
size_type size2 () const
template<typename MatrixType1 , typename MatrixType2 >
matrix_range< MatrixType > & operator= (const matrix_expression< MatrixType1, MatrixType2, op_prod > &proxy)
matrix_range< MatrixType > & operator+= (matrix_range< MatrixType > const &other)
template<typename MatrixType1 , typename MatrixType2 >
matrix_range< MatrixType > & operator+= (const matrix_expression< MatrixType1, MatrixType2, op_prod > &proxy)
template<typename MatrixType1 , typename MatrixType2 >
matrix_range< MatrixType > & operator+= (const matrix_expression< const matrix_range< MatrixType1 >, const matrix_range< MatrixType2 >, op_prod > &proxy)
MatrixType & get ()
const MatrixType & get () const

template<typename MatrixType>
class viennacl::matrix_range< MatrixType >


Member Typedef Documentation

typedef const value_type& const_reference
typedef MatrixType::value_type value_type

Constructor & Destructor Documentation

matrix_range ( MatrixType &  A,
range const &  row_range,
range const &  col_range 
) [inline]

Member Function Documentation

MatrixType& get (  )  [inline]
const MatrixType& get (  )  const [inline]
matrix_range<MatrixType>& operator+= ( const matrix_expression< const matrix_range< MatrixType1 >, const matrix_range< MatrixType2 >, op_prod > &  proxy  )  [inline]
matrix_range<MatrixType>& operator+= ( matrix_range< MatrixType > const &  other  )  [inline]
matrix_range<MatrixType>& operator+= ( const matrix_expression< MatrixType1, MatrixType2, op_prod > &  proxy  )  [inline]
matrix_range<MatrixType>& operator= ( const matrix_expression< MatrixType1, MatrixType2, op_prod > &  proxy  )  [inline]
size_type size1 (  )  const [inline]
size_type size2 (  )  const [inline]
size_type start1 (  )  const [inline]
size_type start2 (  )  const [inline]

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