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


Definition at line 394 of file Matrix.hpp.
Public Member Functions | |
| MatrixColSlice () | |
| default constructor | |
| MatrixColSlice (Matrix< T > &mat, size_t col) | |
makes a slice of the column col from matrix mat. | |
| MatrixColSlice (Matrix< T > &mat, size_t col, const std::slice &s) | |
makes a slice of the column from the matrix using s to further slice the column. | |
| template<class V> | |
| MatrixColSlice & | operator= (const ConstMatrixBase< T, V > &x) |
| assigns this column to x | |
| template<class V> | |
| MatrixColSlice & | operator= (const ConstVectorBase< T, V > &x) |
| assigns this column to x | |
| MatrixColSlice & | operator= (const std::valarray< T > &x) |
| assigns this column to x | |
| MatrixColSlice & | operator= (const T x) |
| assigns this column to x | |
| MatrixColSlice & | operator= (const T *x) |
| assigns this column to x | |
| T & | operator[] (size_t i) |
| returns the i'th element of the column, non-const | |
| T & | operator() (size_t i) |
| returns the i'th element of the column, non-const | |
| T | operator[] (size_t i) const |
| returns the i'th element of the column, const | |
| T | operator() (size_t i) const |
| returns the i'th element of the column, const | |
| T & | operator() (size_t i, size_t j) |
| returns the (i,j) element, non-const | |
| T | operator() (size_t i, size_t j) const |
| returns the (i,j) element, non-const | |
| 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 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 398 of file Matrix.hpp. |
|
||||||||||||
|
makes a slice of the column
Definition at line 400 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
||||||||||||||||
|
makes a slice of the column from the matrix using
Definition at line 407 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
|
returns the number of columns in the slice
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 456 of file Matrix.hpp. |
|
|
returns the number of columns in this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 467 of file Matrix.hpp. |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 469 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 471 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element, non-const
Reimplemented from ConstMatrixBase< T, MatrixColSlice< T > >. Definition at line 450 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element, non-const
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 447 of file Matrix.hpp. |
|
|
returns the i'th element of the column, const
Definition at line 443 of file Matrix.hpp. |
|
|
returns the i'th element of the column, non-const
Definition at line 437 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 430 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 427 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 424 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 421 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 416 of file Matrix.hpp. |
|
|
returns the i'th element of the column, const
Definition at line 440 of file Matrix.hpp. |
|
|
returns the i'th element of the column, non-const
Definition at line 434 of file Matrix.hpp. |
|
|
returns the number of rows in the slice
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 454 of file Matrix.hpp. |
|
|
returns the number of rows in this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 461 of file Matrix.hpp. References ConstMatrixBase::size(). |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 463 of file Matrix.hpp. |
|
|
returns the number of elements between the i'th and i+1'th row
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 465 of file Matrix.hpp. |
|
|
returns the size of the slice
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 458 of file Matrix.hpp. |
1.3.9.1