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


Definition at line 395 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 399 of file Matrix.hpp. |
|
||||||||||||
|
makes a slice of the column
Definition at line 401 of file Matrix.hpp. References Matrix::cols(), and Matrix::rows(). |
|
||||||||||||||||
|
makes a slice of the column from the matrix using
Definition at line 408 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 457 of file Matrix.hpp. |
|
|
returns the number of columns in this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 468 of file Matrix.hpp. |
|
|
returns the starting row in the base matrix of this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 470 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 472 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element, non-const
Reimplemented from ConstMatrixBase< T, MatrixColSlice< T > >. Definition at line 451 of file Matrix.hpp. |
|
||||||||||||
|
returns the (i,j) element, non-const
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 448 of file Matrix.hpp. |
|
|
returns the i'th element of the column, const
Definition at line 444 of file Matrix.hpp. |
|
|
returns the i'th element of the column, non-const
Definition at line 438 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 431 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 428 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 425 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 422 of file Matrix.hpp. |
|
|
assigns this column to x
Definition at line 417 of file Matrix.hpp. |
|
|
returns the i'th element of the column, const
Definition at line 441 of file Matrix.hpp. |
|
|
returns the i'th element of the column, non-const
Definition at line 435 of file Matrix.hpp. |
|
|
returns the number of rows in the slice
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 455 of file Matrix.hpp. |
|
|
returns the number of rows in this slice
Reimplemented from MatrixSliceBase< T, MatrixColSlice< T > >. Definition at line 462 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 464 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 466 of file Matrix.hpp. |
|
|
returns the size of the slice
Reimplemented from RefMatrixBase< T, MatrixColSlice< T > >. Definition at line 459 of file Matrix.hpp. |
1.3.9.1