cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Functions
vctDynamicMatrix.h File Reference

Declaration of vctDynamicMatrix. More...

#include <cisstVector/vctDynamicVector.h>
#include <cisstVector/vctDynamicMatrixBase.h>
#include <cisstVector/vctDynamicMatrixRef.h>
#include <cisstVector/vctDynamicMatrixOwner.h>

Go to the source code of this file.

Classes

class  vctDynamicMatrix< _elementType >
 A matrix object of dynamic size. More...
 
class  vctReturnDynamicMatrix< _elementType >
 

Macros

#define _vctDynamicMatrix_h
 

Functions

template<class _matrixOwnerType1 , class _matrixOwnerType2 , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator* (const vctDynamicConstMatrixBase< _matrixOwnerType1, _elementType > &inputMatrix1, const vctDynamicConstMatrixBase< _matrixOwnerType2, _elementType > &inputMatrix2)
 
template<class _matrixOwnerType , class _vectorOwnerType , class _elementType >
vctReturnDynamicVector
< _elementType > 
operator* (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix, const vctDynamicConstVectorBase< _vectorOwnerType, _elementType > &inputVector)
 
template<class _vectorOwnerType , class _matrixOwnerType , class _elementType >
vctReturnDynamicVector
< _elementType > 
operator* (const vctDynamicConstVectorBase< _vectorOwnerType, _elementType > &inputVector, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix)
 
template<class _matrixOwnerType , class __matrixOwnerType , class _elementType , class _elementOperationType >
vctReturnDynamicMatrix< bool > vctDynamicMatrixElementwiseCompareMatrix (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix1, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix2)
 
template<class _matrixOwnerType , class _elementType , class _elementOperationType >
vctReturnDynamicMatrix< bool > vctDynamicMatrixElementwiseCompareScalar (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix, const _elementType &scalar)
 
Elementwise operations between dynamic matrices.
template<class _matrixOwnerType1 , class _matrixOwnerType2 , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator+ (const vctDynamicConstMatrixBase< _matrixOwnerType1, _elementType > &inputMatrix1, const vctDynamicConstMatrixBase< _matrixOwnerType2, _elementType > &inputMatrix2)
 
template<class _matrixOwnerType1 , class _matrixOwnerType2 , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator- (const vctDynamicConstMatrixBase< _matrixOwnerType1, _elementType > &inputMatrix1, const vctDynamicConstMatrixBase< _matrixOwnerType2, _elementType > &inputMatrix2)
 
Elementwise operations between a dynamic matrix and a

scalar.

template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator+ (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix, const _elementType &inputScalar)
 
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator- (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix, const _elementType &inputScalar)
 
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator* (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix, const _elementType &inputScalar)
 
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator/ (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix, const _elementType &inputScalar)
 
Elementwise operations between a scalar and a dynamic

matrix.

template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator+ (const _elementType &inputScalar, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix)
 
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator- (const _elementType &inputScalar, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix)
 
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator* (const _elementType &inputScalar, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix)
 
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator/ (const _elementType &inputScalar, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix)
 
Elementwise operations on a dynamic matrix.
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix
< _elementType > 
operator- (const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &inputMatrix)
 

Detailed Description

Declaration of vctDynamicMatrix.

Macro Definition Documentation

#define _vctDynamicMatrix_h

Function Documentation

template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator* ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix,
const _elementType &  inputScalar 
)
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator* ( const _elementType &  inputScalar,
const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix 
)
template<class _matrixOwnerType1 , class _matrixOwnerType2 , class _elementType >
vctReturnDynamicMatrix<_elementType> operator* ( const vctDynamicConstMatrixBase< _matrixOwnerType1, _elementType > &  inputMatrix1,
const vctDynamicConstMatrixBase< _matrixOwnerType2, _elementType > &  inputMatrix2 
)
template<class _matrixOwnerType , class _vectorOwnerType , class _elementType >
vctReturnDynamicVector<_elementType> operator* ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix,
const vctDynamicConstVectorBase< _vectorOwnerType, _elementType > &  inputVector 
)
template<class _vectorOwnerType , class _matrixOwnerType , class _elementType >
vctReturnDynamicVector<_elementType> operator* ( const vctDynamicConstVectorBase< _vectorOwnerType, _elementType > &  inputVector,
const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix 
)
template<class _matrixOwnerType1 , class _matrixOwnerType2 , class _elementType >
vctReturnDynamicMatrix<_elementType> operator+ ( const vctDynamicConstMatrixBase< _matrixOwnerType1, _elementType > &  inputMatrix1,
const vctDynamicConstMatrixBase< _matrixOwnerType2, _elementType > &  inputMatrix2 
)

Operation between dynamic matrices (same size).

Parameters
inputMatrix1The first operand of the binary operation.
inputMatrix2The second operand of the binary operation.
Returns
The matrix result of $op(matrix1, matrix2)$.
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator+ ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix,
const _elementType &  inputScalar 
)

Operation between a dynamic matrix and a scalar.

Parameters
inputMatrixThe first operand of the binary operation.
inputScalarThe second operand of the binary operation.
Returns
The matrix result of $op(matrix, scalar)$.
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator+ ( const _elementType &  inputScalar,
const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix 
)

Operation between a scalar and a dynamic matrix.

Parameters
inputScalarThe first operand of the binary operation.
inputMatrixThe second operand of the binary operation.
Returns
The matrix result of $op(scalar, matrix)$.
template<class _matrixOwnerType1 , class _matrixOwnerType2 , class _elementType >
vctReturnDynamicMatrix<_elementType> operator- ( const vctDynamicConstMatrixBase< _matrixOwnerType1, _elementType > &  inputMatrix1,
const vctDynamicConstMatrixBase< _matrixOwnerType2, _elementType > &  inputMatrix2 
)
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator- ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix,
const _elementType &  inputScalar 
)
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator- ( const _elementType &  inputScalar,
const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix 
)
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator- ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix)

Unary operation on a dynamic matrix.

Parameters
inputMatrixThe operand of the unary operation
Returns
The matrix result of $op(matrix)$.
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator/ ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix,
const _elementType &  inputScalar 
)
template<class _matrixOwnerType , class _elementType >
vctReturnDynamicMatrix<_elementType> operator/ ( const _elementType &  inputScalar,
const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  inputMatrix 
)
template<class _matrixOwnerType , class __matrixOwnerType , class _elementType , class _elementOperationType >
vctReturnDynamicMatrix<bool> vctDynamicMatrixElementwiseCompareMatrix ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  matrix1,
const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  matrix2 
)
inline
template<class _matrixOwnerType , class _elementType , class _elementOperationType >
vctReturnDynamicMatrix<bool> vctDynamicMatrixElementwiseCompareScalar ( const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &  matrix,
const _elementType &  scalar 
)
inline