20#ifndef _vctDynamicConstMatrixBase_h
21#define _vctDynamicConstMatrixBase_h
47template <
class _matrixOwnerType,
class __matrixOwnerType,
class _elementType,
48 class _elementOperationType>
53template <
class _matrixOwnerType,
class _elementType,
54 class _elementOperationType>
57 const _elementType & scalar);
76template <
class _matrixOwnerType,
typename _elementType>
173 cmnThrow(std::out_of_range(
"vctDynamicMatrix: Invalid index"));
181 cmnThrow(std::out_of_range(
"vctDynamicMatrix: Invalid indices"));
189 cmnThrow(std::out_of_range(
"vctDynamicMatrix: Invalid row index"));
196 cmnThrow(std::out_of_range(
"vctDynamicMatrix: Invalid column index"));
233 const nsize_type &
sizes(
void)
const {
264 return Matrix.row_stride();
269 return Matrix.col_stride();
275 return (
size() == 0);
291 return (
begin())[index];
306 const_pointer
Pointer(index_type rowIndex, index_type colIndex)
const {
307 return Matrix.Pointer(rowIndex, colIndex);
321 return (index <
size());
326 inline bool ValidIndex(size_type rowIndex, size_type colIndex)
const {
327 return ((rowIndex <
rows())
328 && (colIndex <
cols()));
333 return (rowIndex <
rows());
338 return (colIndex <
cols());
346 const_reference
at(size_type rowIndex, size_type colIndex)
const CISST_THROW(std::out_of_range) {
348 return *(
Pointer(rowIndex, colIndex));
353 return this->
at(rowIndex, colIndex);
362 const_reference
Element(size_type rowIndex, size_type colIndex)
const {
363 return *(
Pointer(rowIndex, colIndex));
401 cmnThrow(std::runtime_error(
"vctDynamicMatrix: RowPointers requires compact rows"));
403 const size_type
rows = this->rows();
405 rowPointers.SetSize(
rows);
407 for (index = 0; index <
rows; ++index) {
408 rowPointers[index] = this->
Row(index).Pointer();
414 vctDynamicConstMatrixRef<_elementType>
416 const size_type startRow = 0,
const size_type startCol = 0) const
CISST_THROW(
std::out_of_range) {
417 if (((startRow +
rows) > this->rows())
418 || ((startCol +
cols) > this->cols())) {
419 cmnThrow(std::out_of_range(
"vctDynamicConstMatrixBase::Ref: reference is out of range"));
433 return vctDynamicMatrixLoopEngines::
434 SoMi<typename vctBinaryOperations<value_type>::Addition,
442 return vctDynamicMatrixLoopEngines::
443 SoMi<typename vctBinaryOperations<value_type>::Multiplication,
453 return this->
Diagonal().SumOfElements();
459 return vctDynamicMatrixLoopEngines::
460 SoMi<typename vctBinaryOperations<value_type>::Addition,
467 inline NormType
Norm(
void)
const {
476 return vctDynamicMatrixLoopEngines::
477 SoMi<typename vctBinaryOperations<value_type>::Addition,
495 return vctDynamicMatrixLoopEngines::
496 SoMi<typename vctBinaryOperations<value_type>::Maximum,
504 return vctDynamicMatrixLoopEngines::
505 SoMi<typename vctBinaryOperations<value_type>::Minimum,
517 return vctDynamicMatrixLoopEngines::
518 SoMi<typename vctBinaryOperations<value_type>::Maximum,
528 return vctDynamicMatrixLoopEngines::
529 SoMi<typename vctBinaryOperations<value_type>::Minimum,
549 return vctDynamicMatrixLoopEngines::
550 SoMi<typename vctBinaryOperations<bool>::And,
558 return vctDynamicMatrixLoopEngines::
559 SoMi<typename vctBinaryOperations<bool>::And,
567 return vctDynamicMatrixLoopEngines::
568 SoMi<typename vctBinaryOperations<bool>::And,
576 return vctDynamicMatrixLoopEngines::
577 SoMi< typename vctBinaryOperations<bool>::And,
584 inline bool All(
void)
const {
585 return vctDynamicMatrixLoopEngines::
586 SoMi< typename vctBinaryOperations<bool>::And,
593 inline bool Any(
void)
const {
594 return vctDynamicMatrixLoopEngines::
595 SoMi< typename vctBinaryOperations<bool>::Or,
603 return vctDynamicMatrixLoopEngines::
604 SoMi< typename vctBinaryOperations<bool>::And,
612 return vctDynamicMatrixLoopEngines::
613 SoMi< typename vctBinaryOperations<bool>::Or,
628 return Matrix.IsColMajor();
636 return Matrix.IsRowMajor();
642 return Matrix.IsCompact();
657 return Matrix.StorageOrder();
662 return (this->
rows() == this->
cols());
676 template <
class __matrixOwnerType>
682 template <
size_type __rows,
size_type __cols, str
ide_type __rowStr
ide, str
ide_type __colStr
ide,
class __dataPtrType>
705 template <
class __matrixOwnerType>
707 return vctDynamicMatrixLoopEngines::
708 SoMiMi<typename vctBinaryOperations<bool>::And,
710 Run(*
this, otherMatrix);
714 template <
class __matrixOwnerType>
716 return Equal(otherMatrix);
720 template <
class __matrixOwnerType>
723 return ((*
this - otherMatrix).
LinfNorm() <= tolerance);
727 template <
class __matrixOwnerType>
733 template <
class __matrixOwnerType>
735 return vctDynamicMatrixLoopEngines::
736 SoMiMi<typename vctBinaryOperations<bool>::Or,
738 Run(*
this, otherMatrix);
742 template <
class __matrixOwnerType>
748 template <
class __matrixOwnerType>
750 return vctDynamicMatrixLoopEngines::
751 SoMiMi<typename vctBinaryOperations<bool>::And,
753 Run(*
this, otherMatrix);
757 template <
class __matrixOwnerType>
759 return vctDynamicMatrixLoopEngines::
760 SoMiMi<typename vctBinaryOperations<bool>::And,
762 Run(*
this, otherMatrix);
766 template <
class __matrixOwnerType>
768 return vctDynamicMatrixLoopEngines::
769 SoMiMi<typename vctBinaryOperations<bool>::And,
771 Run(*
this, otherMatrix);
775 template <
class __matrixOwnerType>
777 return vctDynamicMatrixLoopEngines::
778 SoMiMi<typename vctBinaryOperations<bool>::And,
780 Run(*
this, otherMatrix);
799 template <
class __matrixOwnerType>
807 template <
class __matrixOwnerType>
815 template <
class __matrixOwnerType>
823 template <
class __matrixOwnerType>
831 template <
class __matrixOwnerType>
839 template <
class __matrixOwnerType>
865 return vctDynamicMatrixLoopEngines::
866 SoMiSi<typename vctBinaryOperations<bool>::And,
873 return Equal(scalar);
878 return vctDynamicMatrixLoopEngines::
879 SoMiSi<typename vctBinaryOperations<bool>::Or,
891 return vctDynamicMatrixLoopEngines::
892 SoMiSi<typename vctBinaryOperations<bool>::And,
899 return vctDynamicMatrixLoopEngines::
900 SoMiSi<typename vctBinaryOperations<bool>::And,
907 return vctDynamicMatrixLoopEngines::
908 SoMiSi<typename vctBinaryOperations<bool>::And,
915 return vctDynamicMatrixLoopEngines::
916 SoMiSi<typename vctBinaryOperations<bool>::And,
1008 std::stringstream outputStream;
1010 return outputStream.str();
1015 const size_type myRows =
rows();
1016 const size_type myCols =
cols();
1018 const std::streamsize
width = outputStream.width(12);
1019 const std::streamsize precision = outputStream.precision(6);
1020 bool showpoint = ((outputStream.flags() & std::ios_base::showpoint) != 0);
1021 outputStream << std::setprecision(6) << std::showpoint;
1022 size_type indexRow, indexCol;
1023 for (indexRow = 0; indexRow < myRows; ++indexRow) {
1024 for (indexCol = 0; indexCol < myCols; ++indexCol) {
1025 outputStream << std::setw(12) << this->
Element(indexRow, indexCol);
1026 if (indexCol < (myCols-1)) {
1027 outputStream <<
" ";
1031 if (indexRow != (myRows - 1)) {
1032 outputStream << std::endl;
1036 outputStream << std::setprecision(precision) << std::setw(
width);
1038 outputStream << std::noshowpoint;
1043 void ToStreamRaw(std::ostream & outputStream,
const char delimiter =
' ',
1044 bool headerOnly =
false,
const std::string & headerPrefix =
"")
const
1046 const size_type myRows =
rows();
1047 const size_type myCols =
cols();
1048 size_type indexRow, indexCol;
1051 for (indexRow = 0; indexRow < myRows; ++indexRow) {
1052 for (indexCol = 0; indexCol < myCols; ++indexCol) {
1053 outputStream << headerPrefix <<
"-m" << indexRow <<
"_" << indexCol;
1055 if (indexCol < (myCols - 1)) {
1056 outputStream << delimiter;
1060 if (indexRow < (myRows - 1)) {
1061 outputStream << delimiter;
1065 for (indexRow = 0; indexRow < myRows; ++indexRow) {
1066 for (indexCol = 0; indexCol < myCols; ++indexCol) {
1067 outputStream << this->
Element(indexRow, indexCol);
1069 if (indexCol < (myCols - 1)) {
1070 outputStream << delimiter;
1074 if (indexRow < (myRows - 1)) {
1075 outputStream << delimiter;
1109 const size_type myRows =
rows();
1110 const size_type myCols =
cols();
1111 size_type indexRow, indexCol;
1115 for (indexRow = 0; indexRow < myRows; ++indexRow) {
1116 for (indexCol = 0; indexCol < myCols; ++indexCol) {
1126template <
class _matrixOwnerType,
class _elementType>
1134template <
class _matrixOwnerType,
class _elementType>
1142template <
class _matrixOwnerType,
class _elementType>
1150template <
class _matrixOwnerType,
class _elementType>
1158template <
class _matrixOwnerType,
class _elementType>
1166template <
class _matrixOwnerType,
class _elementType>
1175template <
class _matrixOwnerType,
typename _elementType>
1177 return matrix.All();
1181template <
class _matrixOwnerType,
typename _elementType>
1183 return matrix.Any();
1187template <
class _matrixOwnerType,
typename _elementType>
1190 matrix.ToStream(output);
1198 class _elementType,
class _dataPtrType,
class _matrixOwnerType>
1204 tempRef.
Assign(dynamicMatrix);
Definition vctDynamicConstMatrixBase.h:1100
vctDynamicConstMatrixRef< value_type > Type
Definition vctDynamicConstMatrixBase.h:1102
A collection of useful information about the C++ basic types, represented in a generic programming wa...
Definition cmnTypeTraits.h:155
bool BoolType
Definition cmnTypeTraits.h:164
static Type Tolerance(void)
Definition cmnTypeTraits.h:170
Test for equality between input1 and input2.
Definition vctBinaryOperations.h:282
Test if input1 is greater than input2.
Definition vctBinaryOperations.h:363
Test if input1 is greater than or equal to input2.
Definition vctBinaryOperations.h:384
Test if input1 is lesser than input2.
Definition vctBinaryOperations.h:322
Test if input1 is lesser than or equal to input2.
Definition vctBinaryOperations.h:343
Test for non equality between input1 and input2.
Definition vctBinaryOperations.h:302
Definition vctForwardDeclarations.h:145
Dynamic matrix referencing existing memory (const).
Definition vctDynamicConstMatrixRef.h:81
vctDynamicConstMatrixRef()
Definition vctDynamicConstMatrixRef.h:96
Dynamic vector referencing existing memory (const).
Definition vctDynamicConstVectorRef.h:79
ThisType & Assign(const vctDynamicConstMatrixBase< __matrixOwnerType, value_type > &other)
Definition vctDynamicMatrixBase.h:509
Definition vctForwardDeclarations.h:157
static void Run(const _inputMatrixType &inputMatrix, typename _inputMatrixType::value_type &minValue, typename _inputMatrixType::value_type &maxValue)
Definition vctDynamicMatrixLoopEngines.h:978
Dynamic matrix referencing existing memory.
Definition vctDynamicMatrixRef.h:75
Definition vctForwardDeclarations.h:131
Dynamic vector referencing existing memory.
Definition vctDynamicVectorRef.h:78
static bool MatrixCopyCompatible(const _matrix1Type &matrix1, const _matrix2Type &matrix2)
Definition vctFastCopy.h:135
A template for a fixed size matrix with fixed spacing in memory.
Definition vctFixedSizeConstMatrixBase.h:104
A template for a fixed size matrix with fixed spacings in memory.
Definition vctFixedSizeMatrixBase.h:60
Definition vctDynamicMatrix.h:419
vctReturnDynamicMatrix(const BaseType &other)
Definition vctDynamicMatrix.h:426
Returns the absolute value of the input as an OutputType object.
Definition vctUnaryOperations.h:80
Returns the input as an OutputType object.
Definition vctUnaryOperations.h:65
Definition vctUnaryOperations.h:186
Definition vctUnaryOperations.h:194
Definition vctUnaryOperations.h:170
Definition vctUnaryOperations.h:154
Definition vctUnaryOperations.h:162
Definition vctUnaryOperations.h:178
Definition vctUnaryOperations.h:146
Returns the square of the input as an OutputType object.
Definition vctUnaryOperations.h:119
Assert macros definitions.
Portability across compilers and operating systems tools.
#define CISST_THROW(exceptionParameter)
Somewhat portable compilation warning message. This works with very recent versions of gcc (4....
Definition cmnPortability.h:559
Declaration of cmnSerializer and functions cmnSerializeRaw.
void cmnSerializeRaw(std::ostream &outputStream, const _elementType &data) CISST_THROW(std
Definition cmnSerializer.h:76
void cmnSerializeSizeRaw(std::ostream &outputStream, const size_t &data) CISST_THROW(std
Definition cmnSerializer.h:91
Declaration of the template function cmnThrow.
Declaration of the class cmnTypeTraits.
void cmnThrow(const _exceptionType &except, cmnLogLevel lod=CMN_LOG_LEVEL_INIT_ERROR)
Definition cmnThrow.h:76
size_t size_type
Definition vctContainerTraits.h:35
ptrdiff_t stride_type
Definition vctContainerTraits.h:37
Basic traits for the cisstVector containers.
#define VCT_CONTAINER_TRAITS_TYPEDEFS(type)
Definition vctContainerTraits.h:50
#define VCT_NARRAY_TRAITS_TYPEDEFS(dimension)
Definition vctContainerTraits.h:68
bool StorageOrder(void) const
Definition vctDynamicConstMatrixBase.h:656
vctDynamicMatrixRef< _elementType > RefTransposeType
Definition vctDynamicConstMatrixBase.h:133
ConstRowRefType Row(size_type index) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:367
bool IsColMajor(void) const
Definition vctDynamicConstMatrixBase.h:627
vctDynamicConstVectorRef< _elementType > ConstRowRefType
Definition vctDynamicConstMatrixBase.h:105
value_type MaxElement(void) const
Definition vctDynamicConstMatrixBase.h:494
vctReturnDynamicMatrix< bool > vctDynamicMatrixElementwiseCompareScalar(const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix, const _elementType &scalar)
Definition vctDynamicMatrix.h:737
vctDynamicVectorRef< _elementType > RowRefType
Definition vctDynamicConstMatrixBase.h:109
bool IsRowMajor(void) const
Definition vctDynamicConstMatrixBase.h:635
size_type height() const
Definition vctDynamicConstMatrixBase.h:248
size_type cols() const
Definition vctDynamicConstMatrixBase.h:243
const_iterator end(void) const
Definition vctDynamicConstMatrixBase.h:209
OwnerType Matrix
Definition vctDynamicConstMatrixBase.h:167
bool AlmostEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix, value_type tolerance) const
Definition vctDynamicConstMatrixBase.h:721
MatrixReturnType Negation(void) const
BoolMatrixReturnType ElementwiseEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:801
vctDynamicMatrix< _elementType > TransposeValueType
Definition vctDynamicConstMatrixBase.h:137
MatrixReturnType Ceil(void) const
OwnerType::const_iterator const_iterator
Definition vctDynamicConstMatrixBase.h:95
bool IsFortran(void) const
Definition vctDynamicConstMatrixBase.h:650
bool GreaterOrEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:776
const_reference at(size_type index) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:289
bool vctAll(const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix)
Definition vctDynamicConstMatrixBase.h:1176
difference_type col_stride() const
Definition vctDynamicConstMatrixBase.h:268
cmnTypeTraits< value_type > TypeTraits
Definition vctDynamicConstMatrixBase.h:147
bool IsNonPositive(void) const
Definition vctDynamicConstMatrixBase.h:566
void vctFixedSizeMatrixBaseAssignDynamicConstMatrixBase(vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &fixedSizeMatrix, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &dynamicMatrix)
Definition vctDynamicConstMatrixBase.h:1199
@ DIMENSION
Definition vctDynamicConstMatrixBase.h:82
value_type MaxAbsElement(void) const
Definition vctDynamicConstMatrixBase.h:516
const OwnerType & Owner(void) const
Definition vctDynamicConstMatrixBase.h:298
bool IsNonNegative(void) const
Definition vctDynamicConstMatrixBase.h:557
MatrixReturnType Transpose() const
Definition vctDynamicConstMatrixBase.h:986
difference_type row_stride() const
Definition vctDynamicConstMatrixBase.h:263
value_type MinElement(void) const
Definition vctDynamicConstMatrixBase.h:503
OwnerType::iterator iterator
Definition vctDynamicConstMatrixBase.h:92
ConstRefTransposeType TransposeRef(void) const
Definition vctDynamicConstMatrixBase.h:980
void MinAndMaxElement(value_type &minElement, value_type &maxElement) const
Definition vctDynamicConstMatrixBase.h:541
bool NotEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:734
bool ValidColIndex(size_type colIndex) const
Definition vctDynamicConstMatrixBase.h:337
size_type size(void) const
Definition vctDynamicConstMatrixBase.h:228
bool IsCompact(void) const
Definition vctDynamicConstMatrixBase.h:641
vctDynamicVectorRef< _elementType > DiagonalRefType
Definition vctDynamicConstMatrixBase.h:125
value_type MinAbsElement(void) const
Definition vctDynamicConstMatrixBase.h:527
bool IsNegative(void) const
Definition vctDynamicConstMatrixBase.h:575
void ToStreamRaw(std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const
Definition vctDynamicConstMatrixBase.h:1043
BoolMatrixReturnType ElementwiseGreater(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:833
void ToStream(std::ostream &outputStream) const
Definition vctDynamicConstMatrixBase.h:1014
bool empty() const
Definition vctDynamicConstMatrixBase.h:274
const_reverse_iterator rbegin(void) const
Definition vctDynamicConstMatrixBase.h:215
bool Any(void) const
Definition vctDynamicConstMatrixBase.h:593
vctDynamicVector< pointer > VectorPointerType
Definition vctDynamicConstMatrixBase.h:162
vctDynamicConstVectorRef< _elementType > ConstColumnRefType
Definition vctDynamicConstMatrixBase.h:113
vctDynamicVectorRef< _elementType > ColumnRefType
Definition vctDynamicConstMatrixBase.h:117
MatrixReturnType Floor(void) const
std::string ToString(void)
Definition vctDynamicConstMatrixBase.h:1007
vctDynamicConstMatrixRef< _elementType > ConstRefTransposeType
Definition vctDynamicConstMatrixBase.h:129
void SerializeRaw(std::ostream &outputStream) const
Definition vctDynamicConstMatrixBase.h:1107
TypeTraits::BoolType BoolType
Definition vctDynamicConstMatrixBase.h:152
const nsize_type & sizes(void) const
Definition vctDynamicConstMatrixBase.h:233
ConstRowRefType operator[](size_type index) const
Definition vctDynamicConstMatrixBase.h:280
MatrixReturnType Abs(void) const
const_reverse_iterator rend(void) const
Definition vctDynamicConstMatrixBase.h:221
bool vctAny(const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix)
Definition vctDynamicConstMatrixBase.h:1182
size_type width() const
Definition vctDynamicConstMatrixBase.h:253
value_type L1Norm(void) const
Definition vctDynamicConstMatrixBase.h:475
bool All(void) const
Definition vctDynamicConstMatrixBase.h:584
std::ostream & operator<<(std::ostream &output, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix)
Definition vctDynamicConstMatrixBase.h:1188
vctDynamicConstMatrixRef< _elementType > Ref(const size_type rows, const size_type cols, const size_type startRow=0, const size_type startCol=0) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:415
const_reference Element(size_type rowIndex, size_type colIndex) const
Definition vctDynamicConstMatrixBase.h:362
_matrixOwnerType OwnerType
Definition vctDynamicConstMatrixBase.h:89
vctDynamicConstVectorRef< _elementType > ConstDiagonalRefType
Definition vctDynamicConstMatrixBase.h:121
ConstVectorPointerType & RowPointers(ConstVectorPointerType &rowPointers) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:399
ConstDiagonalRefType Diagonal() const
Definition vctDynamicConstMatrixBase.h:377
bool LesserOrEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:758
void ThrowUnlessValidColIndex(size_type index) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:194
const nstride_type & strides(void) const
Definition vctDynamicConstMatrixBase.h:258
value_type Trace(void) const
Definition vctDynamicConstMatrixBase.h:452
vctDynamicMatrix< _elementType > MatrixValueType
Definition vctDynamicConstMatrixBase.h:141
bool Equal(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:706
const_pointer Pointer(index_type rowIndex, index_type colIndex) const
Definition vctDynamicConstMatrixBase.h:306
vctReturnDynamicMatrix< bool > vctDynamicMatrixElementwiseCompareMatrix(const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix1, const vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > &matrix2)
Definition vctDynamicMatrix.h:725
value_type LinfNorm(void) const
Definition vctDynamicConstMatrixBase.h:488
size_type rows() const
Definition vctDynamicConstMatrixBase.h:238
BoolMatrixReturnType ElementwiseLesser(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:817
bool ValidRowIndex(size_type rowIndex) const
Definition vctDynamicConstMatrixBase.h:332
bool HasNaN(void) const
Definition vctDynamicConstMatrixBase.h:611
value_type SumOfElements(void) const
Definition vctDynamicConstMatrixBase.h:432
value_type ProductOfElements(void) const
Definition vctDynamicConstMatrixBase.h:441
NormType Norm(void) const
Definition vctDynamicConstMatrixBase.h:467
vctReturnDynamicMatrix< BoolType > BoolMatrixReturnType
Definition vctDynamicConstMatrixBase.h:156
ConstColumnRefType Column(size_type index) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:372
const_iterator begin(void) const
Definition vctDynamicConstMatrixBase.h:203
vctDynamicVector< const_pointer > ConstVectorPointerType
Definition vctDynamicConstMatrixBase.h:159
value_type NormSquare(void) const
Definition vctDynamicConstMatrixBase.h:458
bool operator==(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:715
BoolMatrixReturnType ElementwiseNotEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:809
void ThrowUnlessValidIndex(size_type index) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:171
OwnerType::const_reverse_iterator const_reverse_iterator
Definition vctDynamicConstMatrixBase.h:101
void ThrowUnlessValidRowIndex(size_type index) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:187
bool Lesser(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:749
bool IsFinite(void) const
Definition vctDynamicConstMatrixBase.h:602
bool Greater(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:767
bool operator!=(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:743
bool IsSquare(void) const
Definition vctDynamicConstMatrixBase.h:661
vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > ThisType
Definition vctDynamicConstMatrixBase.h:86
BoolMatrixReturnType ElementwiseLesserOrEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:825
bool ValidIndex(size_type index) const
Definition vctDynamicConstMatrixBase.h:320
bool FastCopyCompatible(const vctDynamicConstMatrixBase< __matrixOwnerType, value_type > &source) const
Definition vctDynamicConstMatrixBase.h:677
bool IsPositive(void) const
Definition vctDynamicConstMatrixBase.h:548
vctReturnDynamicMatrix< _elementType > MatrixReturnType
Definition vctDynamicConstMatrixBase.h:145
const_reference operator()(size_type rowIndex, size_type colIndex) const CISST_THROW(std
Definition vctDynamicConstMatrixBase.h:352
BoolMatrixReturnType ElementwiseGreaterOrEqual(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:841
OwnerType::reverse_iterator reverse_iterator
Definition vctDynamicConstMatrixBase.h:98
Declaration of vctDynamicConstVectorRef.
Declaration of vctDynamicMatrixLoopEngines.
Declaration of vctDynamicVector.
Declaration of vctDynamicVectorRef.
Declaration of vctFixedSizeVector.