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

Declaration of vctFixedSizeConstMatrixBase. More...

#include <cisstCommon/cmnSerializer.h>
#include <cisstVector/vctFixedSizeVectorRef.h>
#include <cisstVector/vctFixedSizeVector.h>
#include <cisstVector/vctFixedSizeMatrixTraits.h>
#include <cisstVector/vctFixedSizeMatrixLoopEngines.h>
#include <cisstVector/vctFastCopy.h>
#include <stdio.h>

Go to the source code of this file.

Classes

class  vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >
 A template for a fixed size matrix with fixed spacing in memory. More...
 
class  vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType >::ConstSubmatrix< _subRows, _subCols >
 

Macros

#define _vctFixedSizeConstMatrixBase_h
 

Functions

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _dataPtrType , vct::stride_type __rowStride, vct::stride_type __colStride, class __dataPtrType , class _elementType , class _elementOperationType >
vctFixedSizeMatrix< bool,
_rows, _cols > 
vctFixedSizeMatrixElementwiseCompareMatrix (const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &matrix1, const vctFixedSizeConstMatrixBase< _rows, _cols, __rowStride, __colStride, _elementType, __dataPtrType > &matrix2)
 
template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _dataPtrType , class _elementType , class _elementOperationType >
vctFixedSizeMatrix< bool,
_rows, _cols > 
vctFixedSizeMatrixElementwiseCompareScalar (const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &matrix, const _elementType &scalar)
 
template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
bool vctAll (const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &matrix)
 
template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
bool vctAny (const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &matrix)
 
template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
std::ostream & operator<< (std::ostream &output, const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &matrix)
 

Detailed Description

Declaration of vctFixedSizeConstMatrixBase.

Macro Definition Documentation

#define _vctFixedSizeConstMatrixBase_h

Function Documentation

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
std::ostream& operator<< ( std::ostream &  output,
const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix 
)

Stream out operator.

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
bool vctAll ( const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix)
inline

Return true if all the elements of the matrix are nonzero, false otherwise

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
bool vctAny ( const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix)
inline

Return true if any element of the matrix is nonzero, false otherwise

template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _dataPtrType , vct::stride_type __rowStride, vct::stride_type __colStride, class __dataPtrType , class _elementType , class _elementOperationType >
vctFixedSizeMatrix<bool, _rows, _cols> vctFixedSizeMatrixElementwiseCompareMatrix ( const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix1,
const vctFixedSizeConstMatrixBase< _rows, _cols, __rowStride, __colStride, _elementType, __dataPtrType > &  matrix2 
)
inline
template<vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride, class _dataPtrType , class _elementType , class _elementOperationType >
vctFixedSizeMatrix<bool, _rows, _cols> vctFixedSizeMatrixElementwiseCompareScalar ( const vctFixedSizeConstMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix,
const _elementType &  scalar 
)
inline