#include <Matrix.hpp>
Inheritance diagram for ConstMatrixSlice:


Definition at line 324 of file Matrix.hpp.
Public Member Functions | |
| ConstMatrixSlice (void) | |
| default constructor | |
| ConstMatrixSlice (const Matrix< T > &mat) | |
| makes a const slice of the whole matrix | |
| ConstMatrixSlice (const Matrix< T > &mat, const std::slice &rowSlice, const std::slice &colSlice) | |
| makes a slice given std::slices for rows and columns | |
| ConstMatrixSlice (const Matrix< T > &mat, size_t topRow, size_t topCol, size_t numRows, size_t numCols) | |
| submatrix slice | |
| size_t | size () const |
| the size of the slice | |
| size_t | cols () const |
| the number of columns in the slice | |
| size_t | rows () const |
| the number of rows in the slice | |
| T | operator() (size_t i, size_t j) const |
| the (i,j) element of the slice, const. | |
| size_t | rowSize () const |
| returns the number of rows in this slice | |
| size_t | rowStart () const |
| returns the starting row in the base matrix of this slice | |
| size_t | rowStride () const |
| returns the number of elements between the i'th and i+1'th row | |
| size_t | colSize () const |
| returns the number of columns in this slice | |
| size_t | colStart () const |
| returns the starting row in the base matrix of this slice | |
| size_t | colStride () const |
| returns the number of elements between the i'th and i+1'th row | |
|
|
default constructor
Definition at line 328 of file Matrix.hpp. |
|
|
makes a const slice of the whole matrix
Definition at line 333 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
||||||||||||||||
|
makes a slice given std::slices for rows and columns
Definition at line 341 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
||||||||||||||||||||||||
|
submatrix slice
Definition at line 350 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
|
the number of columns in the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixSlice< T > >. Definition at line 362 of file Matrix.hpp. |
|
|
returns the number of columns in this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixSlice< T > >. Definition at line 377 of file Matrix.hpp. References ConstMatrixBase::size(). |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixSlice< T > >. Definition at line 379 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, ConstMatrixSlice< T > >. Definition at line 381 of file Matrix.hpp. |
|
||||||||||||
|
the (i,j) element of the slice, const.
Reimplemented from ConstMatrixBase< T, ConstMatrixSlice< T > >. Definition at line 366 of file Matrix.hpp. |
|
|
the number of rows in the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixSlice< T > >. Definition at line 364 of file Matrix.hpp. |
|
|
returns the number of rows in this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixSlice< T > >. Definition at line 371 of file Matrix.hpp. References ConstMatrixBase::size(). |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixSlice< T > >. Definition at line 373 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, ConstMatrixSlice< T > >. Definition at line 375 of file Matrix.hpp. |
|
|
the size of the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixSlice< T > >. Definition at line 360 of file Matrix.hpp. |
1.3.9.1