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


Definition at line 554 of file Matrix.hpp.
Public Member Functions | |
| MatrixRowSlice () | |
| default constructor | |
| MatrixRowSlice (Matrix< T > &mat, size_t row) | |
makes a slice of row row from the matrix. | |
| MatrixRowSlice (Matrix< T > &mat, size_t row, const std::slice &s) | |
makes a slice of row row from the matrix, slicing it by s. | |
| template<class V> | |
| MatrixRowSlice & | operator= (const ConstMatrixBase< T, V > &x) |
| assigns this row to x. | |
| template<class V> | |
| MatrixRowSlice & | operator= (const ConstVectorBase< T, V > &x) |
| assigns this row to x. | |
| MatrixRowSlice & | operator= (const std::valarray< T > &x) |
| assigns this row to x. | |
| MatrixRowSlice & | operator= (const T x) |
| assigns this row to x. | |
| MatrixRowSlice & | operator= (const T *x) |
| assigns this row to x. | |
| T & | operator[] (size_t j) |
| returns the j'th element of the slice, non-const | |
| T & | operator() (size_t j) |
| returns the j'th element of the slice, non-const | |
| T | operator[] (size_t j) const |
| returns the j'th element of the slice, const | |
| T | operator() (size_t j) const |
| returns the j'th element of the slice, const | |
| T & | operator() (size_t i, size_t j) |
| returns the (i,j) element of the slice, non-const | |
| T | operator() (size_t i, size_t j) const |
| returns the (i,j) element of the slice, const | |
| size_t | rows () const |
| returns the number of rows in the row slice | |
| size_t | cols () const |
| returns the number of columns in the row slice | |
| size_t | size () const |
| returns the 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 558 of file Matrix.hpp. |
|
||||||||||||
|
makes a slice of row
Definition at line 562 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
||||||||||||||||
|
makes a slice of row
Definition at line 567 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
|
returns the number of columns in the row slice
Reimplemented from RefMatrixBase< T, MatrixRowSlice< T > >. Definition at line 615 of file Matrix.hpp. |
|
|
returns the number of columns in this slice
Reimplemented from MatrixSliceBase< T, MatrixRowSlice< T > >. Definition at line 626 of file Matrix.hpp. References ConstMatrixBase::size(). |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, MatrixRowSlice< T > >. Definition at line 628 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, MatrixRowSlice< T > >. Definition at line 630 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element of the slice, const
Reimplemented from ConstMatrixBase< T, MatrixRowSlice< T > >. Definition at line 609 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element of the slice, non-const
Reimplemented from RefMatrixBase< T, MatrixRowSlice< T > >. Definition at line 606 of file Matrix.hpp. |
|
|
returns the j'th element of the slice, const
Definition at line 603 of file Matrix.hpp. |
|
|
returns the j'th element of the slice, non-const
Definition at line 597 of file Matrix.hpp. |
|
|
assigns this row to x.
Definition at line 590 of file Matrix.hpp. |
|
|
assigns this row to x.
Definition at line 587 of file Matrix.hpp. |
|
|
assigns this row to x.
Definition at line 584 of file Matrix.hpp. |
|
|
assigns this row to x.
Definition at line 581 of file Matrix.hpp. |
|
|
assigns this row to x.
Definition at line 577 of file Matrix.hpp. |
|
|
returns the j'th element of the slice, const
Definition at line 600 of file Matrix.hpp. |
|
|
returns the j'th element of the slice, non-const
Definition at line 594 of file Matrix.hpp. |
|
|
returns the number of rows in the row slice
Reimplemented from RefMatrixBase< T, MatrixRowSlice< T > >. Definition at line 613 of file Matrix.hpp. |
|
|
returns the number of rows in this slice
Reimplemented from MatrixSliceBase< T, MatrixRowSlice< T > >. Definition at line 620 of file Matrix.hpp. |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, MatrixRowSlice< T > >. Definition at line 622 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, MatrixRowSlice< T > >. Definition at line 624 of file Matrix.hpp. |
|
|
returns the size of the slice
Reimplemented from RefMatrixBase< T, MatrixRowSlice< T > >. Definition at line 617 of file Matrix.hpp. |
1.3.9.1