tngmath::RowColWiseBase< MatrixType, Scalar, Direction > Class Template Reference
#include <matharrayrowcolwise.hpp>
List of all members.
|
Public Types |
|
typedef MatrixType | Base |
| enum | TDirection { Vertical = 0,
Horizontal
} |
|
typedef int | TIndex |
|
typedef Scalar | TScalar |
Public Member Functions |
|
Base | __add__ (const MathArrayBase< Scalar > &other) const |
| | modifes this matrix by the column(or row)-wise product of *this and other (column or row vector)
|
|
Base | __div__ (const MathArrayBase< Scalar > &other) const |
| | returns a matrix expression of the column(or row)-wise division of *this and other (column or row vector)
|
|
Base | __mul__ (const MathArrayBase< Scalar > &other) const |
| | returns a matrix expression of the column(or row)-wise product of *this and other (column or row vector)
|
|
Base | __sub__ (const MathArrayBase< Scalar > &other) const |
| | modifies this matrix by the column(or row)-wise sum of *this and other (column or row vector)
|
|
const Base | All () const |
| | returns a row (or column) vector expression representing whether all coefficients of each respective column (or row) are true.
|
|
const Base | Any () const |
| | returns a row (or column) vector expression representing whether at least one coefficient of each respective column (or row) is true.
|
| const Base | MaxCoeff () const |
| const Base | MinCoeff () const |
| const Base | Norm () const |
|
void | Normalize () |
| | modifies this matrix such that it has normalized rows or columns
|
|
Base | Normalized () const |
| | creates a matrix from this with normalized rows or columns and returns it
|
|
Base & | object () |
| | returns the matrix object this class refers to
|
|
const Base & | object () const |
| | returns the matrix object this class refers to
|
|
| RowColWiseBase () |
| | a default constructor used for SWIG - it should never be called when using this object, else one will cause a segfault!
|
|
| RowColWiseBase (MatrixType &_object) |
| | constructor
|
| const Base | SquaredNorm () const |
| const Base | Sum () const |
|
virtual | ~RowColWiseBase () |
| | destructor
|
Protected Attributes |
|
Base * | m_object |
| | the matrix object this class is operating on
|
Detailed Description
template<typename MatrixType, typename Scalar, int Direction>
class tngmath::RowColWiseBase< MatrixType, Scalar, Direction >
providing row- or column-wise operations to matrices
Member Function Documentation
template<typename MatrixType, typename Scalar, int Direction>
- Returns:
- a row (or column) vector expression of the largest coefficient of each column (or row) of the referenced expression.
template<typename MatrixType, typename Scalar, int Direction>
- Returns:
- a row (or column) vector expression of the smallest coefficient of each column (or row) of the referenced expression.
template<typename MatrixType, typename Scalar, int Direction>
- Returns:
- a row (or column) vector expression of the norm of each column (or row) of the referenced expression.
template<typename MatrixType, typename Scalar, int Direction>
- Returns:
- a row (or column) vector expression of the squared norm of each column (or row) of the referenced expression.
template<typename MatrixType, typename Scalar, int Direction>
- Returns:
- a row (or column) vector expression of the sum of each column (or row) of the referenced expression.
The documentation for this class was generated from the following file:
- modules/tngmath/tngmath/matharrayrowcolwise.hpp