ViennaCL - The Vienna Computing Library
1.5.1
|
Class for representing strided submatrices of a bigger matrix A. More...
#include <matrix_proxy.hpp>
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_type & | const_reference |
Public Member Functions | |
matrix_slice (MatrixType &A, slice const &row_slice, slice const &col_slice) |
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.
typedef const value_type& const_reference |
typedef viennacl::result_of::cpu_value_type<value_type>::type cpu_value_type |
Reimplemented from matrix_base< MatrixType::cpu_value_type, MatrixType::orientation_functor >.
Reimplemented from matrix_base< MatrixType::cpu_value_type, MatrixType::orientation_functor >.
typedef MatrixType::orientation_category orientation_category |
Reimplemented from matrix_base< MatrixType::cpu_value_type, MatrixType::orientation_functor >.
typedef value_type reference |
typedef range::size_type size_type |
Reimplemented from matrix_base< MatrixType::cpu_value_type, MatrixType::orientation_functor >.
typedef MatrixType::value_type value_type |
Reimplemented from matrix_base< MatrixType::cpu_value_type, MatrixType::orientation_functor >.
matrix_slice | ( | MatrixType & | A, |
slice const & | row_slice, | ||
slice const & | col_slice | ||
) | [inline] |