ViennaCL - The Vienna Computing Library  1.5.1
Public Types | Public Member Functions
matrix_slice< MatrixType > Class Template Reference

Class for representing strided submatrices of a bigger matrix A. More...

#include <matrix_proxy.hpp>

Inheritance diagram for matrix_slice< MatrixType >:
matrix_base< MatrixType::cpu_value_type, MatrixType::orientation_functor >

Public Types

typedef
MatrixType::orientation_category 
orientation_category
typedef MatrixType::value_type value_type
typedef
viennacl::result_of::cpu_value_type
< value_type >::type 
cpu_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_slice (MatrixType &A, slice const &row_slice, slice const &col_slice)

Detailed Description

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

Class for representing strided submatrices of a bigger matrix A.

In MATLAB notation, this could for example refer to the submatrix A(3:2:8, 6:3:16) of a matrix A.


Member Typedef Documentation

typedef const value_type& const_reference
typedef MatrixType::orientation_category orientation_category
typedef MatrixType::value_type value_type

Constructor & Destructor Documentation

matrix_slice ( MatrixType &  A,
slice const &  row_slice,
slice const &  col_slice 
) [inline]

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