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


Definition at line 645 of file Matrix.hpp.
Public Member Functions | |
| ConstMatrixRowSlice () | |
| default constructor | |
| ConstMatrixRowSlice (const Matrix< T > &mat, size_t row) | |
| makes a const row slice from the matrix | |
| ConstMatrixRowSlice (const Matrix< T > &mat, size_t row, const std::slice &s) | |
makes a const row slice from the matrix, slicing that row by s. | |
| T | operator[] (size_t i) const |
| returns the i'th element of the slice | |
| T | operator() (size_t i) const |
| returns the i'th element of the slice | |
| T | operator() (size_t i, size_t j) const |
| returns the (i,j) element of the slice | |
| size_t | rows () const |
| returns the number of rows in the slice | |
| size_t | cols () const |
| returns the number of columns in the slice | |
| size_t | size () const |
| returns the overall size of the slice | |
| 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 649 of file Matrix.hpp. |
|
||||||||||||
|
makes a const row slice from the matrix
Definition at line 653 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
||||||||||||||||
|
makes a const row slice from the matrix, slicing that row by
Definition at line 658 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
|
returns the number of columns in the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixRowSlice< T > >. Definition at line 680 of file Matrix.hpp. |
|
|
returns the number of columns in this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixRowSlice< T > >. Definition at line 691 of file Matrix.hpp. References ConstMatrixBase::size(). |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixRowSlice< T > >. Definition at line 693 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, ConstMatrixRowSlice< T > >. Definition at line 695 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element of the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixRowSlice< T > >. Definition at line 674 of file Matrix.hpp. |
|
|
returns the i'th element of the slice
Definition at line 670 of file Matrix.hpp. |
|
|
returns the i'th element of the slice
Definition at line 667 of file Matrix.hpp. |
|
|
returns the number of rows in the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixRowSlice< T > >. Definition at line 678 of file Matrix.hpp. |
|
|
returns the number of rows in this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixRowSlice< T > >. Definition at line 685 of file Matrix.hpp. |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, ConstMatrixRowSlice< T > >. Definition at line 687 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, ConstMatrixRowSlice< T > >. Definition at line 689 of file Matrix.hpp. |
|
|
returns the overall size of the slice
Reimplemented from ConstMatrixBase< T, ConstMatrixRowSlice< T > >. Definition at line 682 of file Matrix.hpp. |
1.3.9.1