#include <MatrixBase.hpp>
Inheritance diagram for RefMatrixBase:


There is no operator[] for base matrix classes.
Definition at line 197 of file MatrixBase.hpp.
Public Member Functions | |
| RefMatrixBase () | |
| default constructor | |
| T & | operator() (size_t i, size_t j) |
| returns a reference to the (i,j) element of the matrix. | |
| size_t | size () const |
| returns the rows()*cols() size of the matrix | |
| size_t | cols () const |
| returns the number of columns in the matrix | |
| size_t | rows () const |
| returns the number of rows in the matrix | |
| BaseClass & | zeroize () |
| any value with absolute value below RefVectorBaseHelper::zeroTolerance is set to 0. | |
| BaseClass & | zeroizeRow (size_t r) |
| any value in row r with absolute value below RefVectorBaseHelper::zeroTolerance is set to 0. | |
| BaseClass & | zeroizeCol (size_t c) |
| any value in column c with absolute value below RefVectorBaseHelper::zeroTolerance is set to 0. | |
| template<class E> | |
| BaseClass & | assignFrom (const ConstMatrixBase< T, E > &x) throw (MatrixException) |
| performs = on each element of this matrix with each element of x | |
| template<class E> | |
| BaseClass & | assignFrom (const ConstVectorBase< T, E > &x) throw (MatrixException) |
| performs = on each element of this matrix with each element of x | |
| BaseClass & | assignFrom (const std::valarray< T > &x) throw (MatrixException) |
| performs = on each element of this matrix with each element of x | |
| BaseClass & | assignFrom (const T *x) |
| performs = on each element of this matrix with each element of x | |
| BaseClass & | assignFrom (T x) |
| performs = on each element of this matrix with x | |
| template<class E> | |
| BaseClass & | operator+= (const ConstMatrixBase< T, E > &x) throw (MatrixException) |
| performs += on each element of this matrix with each element of x | |
| template<class E> | |
| BaseClass & | operator+= (const ConstVectorBase< T, E > &x) throw (MatrixException) |
| performs += on each element of this matrix with each element of x | |
| BaseClass & | operator+= (const std::valarray< T > &x) throw (MatrixException) |
| performs += on each element of this matrix with each element of x | |
| BaseClass & | operator+= (const T *x) |
| performs += on each element of this matrix with each element of x | |
| BaseClass & | operator+= (T x) |
| performs += on each element of this matrix with x | |
| template<class E> | |
| BaseClass & | operator-= (const ConstMatrixBase< T, E > &x) throw (MatrixException) |
| performs -= on each element of this matrix with each element of x | |
| template<class E> | |
| BaseClass & | operator-= (const ConstVectorBase< T, E > &x) throw (MatrixException) |
| performs -= on each element of this matrix with each element of x | |
| BaseClass & | operator-= (const std::valarray< T > &x) throw (MatrixException) |
| performs -= on each element of this matrix with each element of x | |
| BaseClass & | operator-= (const T *x) |
| performs -= on each element of this matrix with each element of x | |
| BaseClass & | operator-= (T x) |
| performs -= on each element of this matrix with x | |
| BaseClass & | operator *= (const T x) |
| multiplies each element in this matrix by x. | |
| BaseClass & | operator/= (const T x) |
| divides each element in this matrix by x. | |
| const BaseClass | operator- () const |
| unary minus: multiplies each element in this matrix by -1. | |
| BaseClass & | swapRows (size_t row1, size_t row2) throw (MatrixException) |
| swaps rows row1 and row2 in this matrix. | |
| BaseClass & | swapCols (size_t col1, size_t col2) throw (MatrixException) |
| swaps columns col1 and col2 in this matrix. | |
|
|
default constructor
Definition at line 201 of file MatrixBase.hpp. |
|
|
performs = on each element of this matrix with x
Definition at line 384 of file MatrixBase.hpp. |
|
|
performs = on each element of this matrix with each element of x
Definition at line 373 of file MatrixBase.hpp. |
|
|
performs = on each element of this matrix with each element of x
Definition at line 355 of file MatrixBase.hpp. |
|
|
performs = on each element of this matrix with each element of x
Definition at line 337 of file MatrixBase.hpp. |
|
|
performs = on each element of this matrix with each element of x
Definition at line 319 of file MatrixBase.hpp. |
|
|
returns the number of columns in the matrix
Reimplemented from ConstMatrixBase. Reimplemented in Matrix, MatrixSlice, MatrixColSlice, MatrixRowSlice, Matrix< double >, and Matrix< int >. Definition at line 211 of file MatrixBase.hpp. |
|
|
multiplies each element in this matrix by x.
Definition at line 555 of file MatrixBase.hpp. |
|
||||||||||||
|
returns a reference to the (i,j) element of the matrix.
Reimplemented in Matrix, MatrixSlice, MatrixColSlice, MatrixRowSlice, Matrix< double >, and Matrix< int >. Definition at line 204 of file MatrixBase.hpp. |
|
|
performs += on each element of this matrix with x
Definition at line 463 of file MatrixBase.hpp. |
|
|
performs += on each element of this matrix with each element of x
Definition at line 452 of file MatrixBase.hpp. |
|
|
performs += on each element of this matrix with each element of x
Definition at line 434 of file MatrixBase.hpp. |
|
|
performs += on each element of this matrix with each element of x
Definition at line 416 of file MatrixBase.hpp. |
|
|
performs += on each element of this matrix with each element of x
Definition at line 398 of file MatrixBase.hpp. |
|
|
unary minus: multiplies each element in this matrix by -1.
Definition at line 587 of file MatrixBase.hpp. |
|
|
performs -= on each element of this matrix with x
Definition at line 542 of file MatrixBase.hpp. |
|
|
performs -= on each element of this matrix with each element of x
Definition at line 531 of file MatrixBase.hpp. |
|
|
performs -= on each element of this matrix with each element of x
Definition at line 513 of file MatrixBase.hpp. |
|
|
performs -= on each element of this matrix with each element of x
Definition at line 495 of file MatrixBase.hpp. |
|
|
performs -= on each element of this matrix with each element of x
Definition at line 477 of file MatrixBase.hpp. |
|
|
divides each element in this matrix by x.
Definition at line 567 of file MatrixBase.hpp. |
|
|
returns the number of rows in the matrix
Reimplemented from ConstMatrixBase. Reimplemented in Matrix, MatrixSlice, MatrixColSlice, MatrixRowSlice, Matrix< double >, and Matrix< int >. Definition at line 214 of file MatrixBase.hpp. |
|
|
returns the rows()*cols() size of the matrix
Reimplemented from ConstMatrixBase. Reimplemented in Matrix, MatrixSlice, MatrixColSlice, MatrixRowSlice, Matrix< double >, and Matrix< int >. Definition at line 208 of file MatrixBase.hpp. |
|
||||||||||||
|
swaps columns col1 and col2 in this matrix.
Definition at line 622 of file MatrixBase.hpp. |
|
||||||||||||
|
swaps rows row1 and row2 in this matrix.
Definition at line 599 of file MatrixBase.hpp. |
|
|
any value with absolute value below RefVectorBaseHelper::zeroTolerance is set to 0.
Definition at line 218 of file MatrixBase.hpp. |
|
|
any value in column c with absolute value below RefVectorBaseHelper::zeroTolerance is set to 0.
Definition at line 241 of file MatrixBase.hpp. |
|
|
any value in row r with absolute value below RefVectorBaseHelper::zeroTolerance is set to 0.
Definition at line 230 of file MatrixBase.hpp. |
1.3.9.1