ERC CISST - cisst software

vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType > Class Template Reference

#include <vctFixedSizeConstVectorBase.h>

Inheritance diagram for vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >:

Inheritance graph
[legend]
Collaboration diagram for vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
class vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >

A template for a fixed length vector with fixed spacing in memory.

The vector can be defined over an existing memory block, or define its own memory block. The class's methods follow the STL specifications for Random Access Container. It uses vctFixedSizeVectorTraits to define the types required by the STL interface.

This class defines a read-only memory vector. The read/write vector is derived from this class (compare with vctFixedStrideVectorConstIterator). Therefore, all the methods of this class are const. The non-const vector and methods are defined in vctFixedSizeVectorBase.

Vector indexing is zero-based.

The method provided for the compatibility with the STL containers start with a lower case. Other methods start with a capitalilized letter (see CISST naming convention).

Parameters:
_elementType the type of element in the vector.
_size the number of elements that the vector provides access to.
_stride the spacing between the elements in the memory block. _stride=1 means that the elements are next to each other. _stride=2 means they are separated by one, and so on.
_dataPtrType the type of object that defines the vector. This may be an element pointer of an acutal fixed-size C-style array type.
See also:
vctFixedStrideVectorConstIterator vctFixedSizeVectorTraits

Definition at line 108 of file vctFixedSizeConstVectorBase.h.

Public Types

Public Member Functions

Size dependant methods.
The following methods are size dependant, i.e. don't necessarily mean anything for all sizes of vector. For example, using the Z() method on a vector of size 2 shouldn't be allowed. It would have been possible to check these errors at compilation time, but this would require an overhead of code and therefore execution time which is not worth it. Therefore, we are using and CMN_ASSERT() to check that the template parameter _size is valid

Note:
Using CMN_ASSERT on a template parameter still allows the compiler to perform some optimization, which would be harder if CMN_ASSERT was testing a method paramater.


Incremental operations returning a scalar.
Compute a scalar from all the elements of the vector.

Storage format.
Elementwise comparisons between vectors.
Returns the result of the comparison.

Elementwise comparisons between vectors.
Returns the vector of comparison's results.

Elementwise comparisons between a vector and a scalar.
Returns the result of the comparison.

Elementwise comparisons between a vector and a scalar.
Returns the vector of comparison's results.

Unary elementwise operations.
Returns the result of vector.op().

Public Attributes

Protected Member Functions

Protected Attributes

Classes


Member Typedef Documentation

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeConstVectorBase<_size, _stride, _elementType, _dataPtrType> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ThisType

Type of the vector itself.

Reimplemented in mtsFixedSizeVector< _elementType, _size >, vctBarycentricVector< _elementType, _size >, vctFixedSizeConstVectorRef< _elementType, _size, _stride >, vctFixedSizeVector< _elementType, _size >, vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorRef< _elementType, _size, _stride >, vctQuaternion< _elementType >, vctQuaternionRotation3< _elementType >, vctRodriguezRotation3< _elementType >, vctFixedSizeVector< int, SVL_MAX_CHANNELS >, vctFixedSizeVector< svlPoint2D, SVL_MAX_CHANNELS >, vctFixedSizeVector< double, 4 >, vctFixedSizeVector< unsigned int, 256 >, vctFixedSizeVector< double, SVL_MAX_CHANNELS >, vctFixedSizeVector< double, 3 >, vctFixedSizeVector< svlRect, 2 >, vctFixedSizeVector< unsigned char, 255 >, vctFixedSizeVector< bool, 2 >, vctFixedSizeVector< _elementType, 4 >, vctFixedSizeVector< _elementType, 3 >, vctFixedSizeVector< double, 6 >, vctFixedSizeVector< int, 2 >, vctFixedSizeVector< svlImageProcessing::Internals, SVL_MAX_CHANNELS >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >, vctQuaternionBase< vctFixedSizeVector< _elementType, 4 > >, vctQuaternionBase< vctFixedSizeVector< double, 4 > >, vctQuaternionRotation3< double >, vctQuaternionRotation3Base< vctFixedSizeVector< _elementType, 4 > >, vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >, and vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > >.

Definition at line 118 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeVectorTraits<_elementType, _size, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::VectorTraits

Traits used for all useful types related to a vctFixedSizeVector.

Definition at line 121 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef VectorTraits::iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::iterator

Iterator on the elements of the vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 124 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef VectorTraits::const_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::const_iterator

Const iterator on the elements of the vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 127 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef VectorTraits::reverse_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::reverse_iterator

Reverse iterator on the elements of the vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 130 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef VectorTraits::const_reverse_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::const_reverse_iterator

Const reverse iterator on the elements of the vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 133 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeConstMatrixRef<_elementType, 1, _size, _stride*_size,_stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::RowConstMatrixRefType

type of overlay row matrix over this sequence

Definition at line 137 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeMatrixRef<_elementType, 1, _size, _stride*_size, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::RowMatrixRefType

type of overlay row matrix over this sequence

Definition at line 138 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeConstMatrixRef<_elementType, _size, 1, _stride, _stride*_size> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ColConstMatrixRefType

type of overlay column matrix over this sequence

Definition at line 142 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeMatrixRef<_elementType, _size, 1, _stride, _stride*_size> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ColMatrixRefType

type of overlay column matrix over this sequence

Definition at line 143 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeVector<_elementType, _size> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::VectorValueType

The type of a vector returned by value from operations on this object

Definition at line 153 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeVector<_elementType, _size> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::CopyType

The type used to create a copy.

Reimplemented in vctFixedSizeConstVectorRef< _elementType, _size, _stride >, vctFixedSizeVector< _elementType, _size >, vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorRef< _elementType, _size, _stride >, vctFixedSizeVector< int, SVL_MAX_CHANNELS >, vctFixedSizeVector< svlPoint2D, SVL_MAX_CHANNELS >, vctFixedSizeVector< double, 4 >, vctFixedSizeVector< unsigned int, 256 >, vctFixedSizeVector< double, SVL_MAX_CHANNELS >, vctFixedSizeVector< double, 3 >, vctFixedSizeVector< svlRect, 2 >, vctFixedSizeVector< unsigned char, 255 >, vctFixedSizeVector< bool, 2 >, vctFixedSizeVector< _elementType, 4 >, vctFixedSizeVector< _elementType, 3 >, vctFixedSizeVector< double, 6 >, vctFixedSizeVector< int, 2 >, vctFixedSizeVector< svlImageProcessing::Internals, SVL_MAX_CHANNELS >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 156 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
typedef vctFixedSizeVector<bool, _size> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::BoolVectorValueType

The type of a vector of booleans returned from operations on this object, e.g., ElementwiseEqual.

Definition at line 160 of file vctFixedSizeConstVectorBase.h.


Member Function Documentation

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
void vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ThrowUnlessValidIndex ( size_type  index  )  const throw (std::out_of_range) [inline, protected]

Check the validity of an index.

Definition at line 169 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::at(), and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::at().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::begin ( void   )  const [inline]

Returns a const iterator on the first element (STL compatibility).

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 178 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::begin().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::end ( void   )  const [inline]

Returns a const iterator on the last element (STL compatibility).

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 185 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::end().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_reverse_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::rbegin ( void   )  const [inline]

Returns a reverse const iterator on the last element (STL compatibility).

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 192 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::rbegin().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_reverse_iterator vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::rend ( void   )  const [inline]

Returns a reverse const iterator on the element before first (STL compatibility).

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 199 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::rend().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
size_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::size ( void   )  const [inline]

Returns the size of the vector (STL compatibility).

Definition at line 206 of file vctFixedSizeConstVectorBase.h.

Referenced by vctDynamicVector< svlSample * >::ForceAssign(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::SerializeRaw(), vctFixedSizeVectorRef< _elementType, _size, _stride >::SetRef(), vctFixedSizeConstVectorRef< _elementType, _size, _stride >::SetRef(), vctDynamicVectorRef< CISSTNETLIB_DOUBLE >::SetRef(), vctDynamicConstVectorRef< _elementType >::SetRef(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::ToStream(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::ToStreamRaw(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::ValidIndex(), vctRandom(), and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::Zeros().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
size_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::max_size (  )  const [inline]

Returns the maximum size of the vector (STL compatibility). For a fixed size vector, same as the size().

Definition at line 213 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
difference_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::stride ( void   )  const [inline]

Not required by STL but provided for completeness

Definition at line 219 of file vctFixedSizeConstVectorBase.h.

Referenced by vctDynamicVectorRef< CISSTNETLIB_DOUBLE >::SetRef(), and vctDynamicConstVectorRef< _elementType >::SetRef().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::empty ( void   )  const [inline]

Tell is the vector is empty (STL compatibility). False unless SIZE is zero.

Definition at line 226 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_reference vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::operator[] ( size_type  index  )  const [inline]

Access an element by index (const).

Returns:
a const reference to the element[index]

Definition at line 233 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::operator[]().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_reference vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::at ( size_type  index  )  const throw (std::out_of_range) [inline]

Access an element by index (const). Compare with std::vector::at(). This method can be a handy substitute for the overloaded operator [] when operator overloading is unavailable or inconvenient.

Returns:
a const reference to element[index]

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 242 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::at(), and vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::operator()().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_reference vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::operator() ( size_type  index  )  const throw (std::out_of_range) [inline]

Access an element by index (const). See method at().

Returns:
a const reference to element[index]

Definition at line 251 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::operator()().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_reference vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Element ( size_type  index  )  const [inline]

Access an element by index (const). This method allows to access an element without any bounds checking.

Returns:
a reference to the element at index

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 261 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::Element().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const_pointer vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Pointer ( size_type  index = 0  )  const [inline]

Returns a const pointer to an element of the container, specified by its index. Addition to the STL requirements.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 269 of file vctFixedSizeConstVectorBase.h.

Referenced by vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyInverseTo(), vctMatrixRotation3ConstBase< vctFixedSizeMatrix< double, 3, 3, _rowMajor > >::ApplyInverseTo(), vctMatrixRotation2Base< vctFixedSizeMatrix< _elementType, 2, 2 > >::ApplyInverseTo(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyTo(), vctMatrixRotation3ConstBase< vctFixedSizeMatrix< double, 3, 3, _rowMajor > >::ApplyTo(), vctMatrixRotation2Base< vctFixedSizeMatrix< _elementType, 2, 2 > >::ApplyTo(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::AsColMatrix(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::AsRowMatrix(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::at(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::Element(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::NormalizedOf(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::operator *(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::operator[](), vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::Pointer(), vctFixedSizeConstVectorRef< _elementType, _size, _stride >::SetRef(), vctDynamicNArrayRef< _elementType, _dimension >::SetRef(), vctDynamicConstVectorRef< _elementType >::SetRef(), vctDynamicConstNArrayRef< _elementType, _dimension >::SetRef(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::W(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::X(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::XW(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::XY(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::XYZ(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::XYZW(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::XZ(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::Y(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::YW(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::YZ(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::YZW(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::Z(), and vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::ZW().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ValidIndex ( size_type  index  )  const [inline]

Returns true if this index is valid.

Definition at line 275 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::ThrowUnlessValidIndex().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const value_type& vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::X ( void   )  const [inline]

Returns the first element of the vector. This method uses CMN_ASSERT to check that the size is at least 1.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 299 of file vctFixedSizeConstVectorBase.h.

Referenced by vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyInverseTo(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyTo(), and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::X().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const value_type& vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Y ( void   )  const [inline]

Returns the second element of the vector. This method uses CMN_ASSERT to check that the size is at least 2.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 307 of file vctFixedSizeConstVectorBase.h.

Referenced by vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyInverseTo(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyTo(), and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::Y().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const value_type& vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Z ( void   )  const [inline]

Returns the third element of the vector. This method uses CMN_ASSERT to check that the size is at least 3.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 315 of file vctFixedSizeConstVectorBase.h.

Referenced by vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyInverseTo(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::ApplyTo(), and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::Z().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
const value_type& vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::W ( void   )  const [inline]

Returns the fourth element of the vector. This method uses CMN_ASSERT to check that the size is at least 4.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 322 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::W().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 2, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::XY ( void   )  const [inline]

Return a (const) vector reference for the first two elements of this vector. May be used when switching from homogeneous coordinates to normal

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 329 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::XY().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 2, 2 * _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::XZ ( void   )  const [inline]

Return a (const) vector reference for the first and third elements of this vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 336 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::XZ().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 2, 3 * _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::XW ( void   )  const [inline]

Return a (const) vector reference for the first and fourth elements of this vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 343 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::XW().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 2, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::YZ ( void   )  const [inline]

Return a (const) vector reference for the two elements of this vector beginning on the second.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 350 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::YZ().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 2, 2 * _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::YW ( void   )  const [inline]

Return a (const) vector reference for the two elements of this vector beginning on the second.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 357 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::YW().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 2, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ZW ( void   )  const [inline]

Return a (const) vector reference for the two elements of this vector beginning on the third.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 364 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::ZW().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 3, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::XYZ ( void   )  const [inline]

Return a (const) vector reference for the first three elements of this vector. May be used when switching from homogeneous coordinates to normal, or when refering to a subvector of a row or a column inside a small matrix.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 373 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::XYZ().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 3, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::YZW ( void   )  const [inline]

Return a (const) vector reference for the second, third and fourth elements of this vector.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 380 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::YZW().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
vctFixedSizeConstVectorRef<_elementType, 4, _stride> vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::XYZW ( void   )  const [inline]

Return a (const) vector reference for the first four elements of this vector. May be used when switching from homogeneous coordinates to normal, or when refering to a subvector of a row or a column inside a small matrix.

Reimplemented in vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType >, vctFixedSizeVectorBase< _size, 1, unsigned char, vctFixedSizeVectorTraits< unsigned char, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, bool, vctFixedSizeVectorTraits< bool, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, unsigned int, vctFixedSizeVectorTraits< unsigned int, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, svlRect, vctFixedSizeVectorTraits< svlRect, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, double, vctFixedSizeVectorTraits< double, _size, 1 >::array >, vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >, vctFixedSizeVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, _stride >::pointer >, vctFixedSizeVectorBase< _size, 1, svlImageProcessing::Internals, vctFixedSizeVectorTraits< svlImageProcessing::Internals, _size, 1 >::array >, and vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >.

Definition at line 389 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::XYZW().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
RowConstMatrixRefType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::AsRowMatrix ( void   )  const [inline]

Create an overlay matrix (MatrixRef) on top of this vector and return it.

Definition at line 400 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::AsRowMatrix(), and vctFixedSizeMatrixBase< _rows, _cols, _rowMajor?_cols:1, _rowMajor?1:_rows, double, vctFixedSizeMatrixTraits< double, _rows, _cols, _rowMajor?_cols:1, _rowMajor?1:_rows >::array >::OuterProductOf().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
ColConstMatrixRefType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::AsColMatrix ( void   )  const [inline]

Create an overlay matrix (MatrixRef) on top of this vector and return it.

Definition at line 405 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::AsColMatrix(), and vctFixedSizeMatrixBase< _rows, _cols, _rowMajor?_cols:1, _rowMajor?1:_rows, double, vctFixedSizeMatrixTraits< double, _rows, _cols, _rowMajor?_cols:1, _rowMajor?1:_rows >::array >::OuterProductOf().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::SumOfElements ( void   )  const [inline]

Return the sum of the elements of the vector.

Returns:
The sum of all the elements

Definition at line 417 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ProductOfElements ( void   )  const [inline]

Return the product of the elements of the vector.

Returns:
The product of all the elements

Definition at line 427 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::NormSquare ( void   )  const [inline]

Return the square of the norm of the vector.

Returns:
The square of the norm

Definition at line 437 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::Norm().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
NormType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Norm ( void   )  const [inline]

Return the norm of the vector.

Returns:
The norm.

Definition at line 446 of file vctFixedSizeConstVectorBase.h.

Referenced by vctRodriguezRotation3Base< vctFixedSizeVector< _elementType, 3 > >::AlmostEquivalent(), vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::From(), and vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::IsNormalized().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsNormalized ( _elementType  tolerance = cmnTypeTraits<_elementType>::Tolerance()  )  const [inline]

Test if this vector is normalized.

Parameters:
tolerance The maximum difference between the norm and 1 to consider the vector normalized.

Definition at line 454 of file vctFixedSizeConstVectorBase.h.

Referenced by vctAxisAngleRotation3< _elementType >::IsNormalized().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::L1Norm ( void   )  const [inline]

Return the L1 norm of the vector, i.e. the sum of the absolute values of all the elements.

Returns:
The L1 norm.

Definition at line 466 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::LinfNorm ( void   )  const [inline]

Return the Linf norm of the vector, i.e. the maximum of the absolute values of all the elements.

See also:
MaxAbsElement.
Returns:
The Linf norm.

Definition at line 479 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::AlmostEqual().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::MaxElement ( void   )  const [inline]

Return the maximum element of the vector.

Returns:
The maximum element

Definition at line 485 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::MinElement ( void   )  const [inline]

Return the minimum element of the vector.

Returns:
The minimum element

Definition at line 494 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::MaxAbsElement ( void   )  const [inline]

Return the maximum of the absolute values of all the elements.

See also:
LinfNorm.
Returns:
The maximum of the absolute values.

Definition at line 507 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::LinfNorm().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::MinAbsElement ( void   )  const [inline]

Return the minimum of the absolute values of all the elements.

Returns:
The minimum of the absolute values.

Definition at line 518 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
void vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::MinAndMaxElement ( value_type &  minElement,
value_type &  maxElement 
) const [inline]

Compute the minimum AND maximum elements of the vector. This method is more runtime-efficient than computing them separately.

Parameters:
minElement reference to store the minimum element result.
maxElement reference to store the maximum element result.

Definition at line 531 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsPositive ( void   )  const [inline]

Return true if all the elements of this vector are strictly positive, false otherwise

Definition at line 539 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsNonNegative ( void   )  const [inline]

Return true if all the elements of this vector are non-negative, false otherwise

Definition at line 548 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsNonPositive ( void   )  const [inline]

Return true if all the elements of this vector are non-positive, false otherwise

Definition at line 557 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsNegative ( void   )  const [inline]

Return true if all the elements of this vector are strictly negative, false otherwise

Definition at line 566 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::All ( void   )  const [inline]

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

Definition at line 576 of file vctFixedSizeConstVectorBase.h.

Referenced by vctAll().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Any ( void   )  const [inline]

Return true if any element of this vector is nonzero, false otherwise

Definition at line 585 of file vctFixedSizeConstVectorBase.h.

Referenced by vctAny().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsCompact ( void   )  const [inline]

Test if the vector is compact, i.e. a vector of length l actually uses a contiguous block of memory or size l. A compact vector has a stride equal to 1.

Definition at line 601 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::IsFortran().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::IsFortran ( void   )  const [inline]

Test if the vector is "Fortran" compatible, i.e. is compact.

See also:
IsCompact

Definition at line 608 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<size_type __size, stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::FastCopyCompatible ( const vctFixedSizeConstVectorBase< __size, __stride, value_type, __dataPtrType > &  source  )  const [inline]

Test if the method FastCopyOf can be used instead of Assign. See FastCopyOf for more details.

Definition at line 615 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<class __vectorOwnerType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::FastCopyCompatible ( const vctDynamicConstVectorBase< __vectorOwnerType, value_type > &  source  )  const [inline]

Test if the method FastCopyOf can be used instead of Assign. See FastCopyOf for more details.

Definition at line 623 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
value_type vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::DotProduct ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Dot product with another vector of the same type and size

Parameters:
otherVector second operand of the dot product ("this" is the first operand)
Returns:
The dot product of this and otherVector.

Definition at line 636 of file vctFixedSizeConstVectorBase.h.

Referenced by operator *(), and vctDotProduct().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Equal ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 660 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFrameBase< _rotationType >::Equal(), and vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::operator==().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::operator== ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 670 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::AlmostEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector,
value_type  tolerance 
) const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 677 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFrameBase< _rotationType >::AlmostEqual(), and vctFrameBase< _rotationType >::AlmostEquivalent().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::AlmostEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 685 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::NotEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 692 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::operator!=().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::operator!= ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 702 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Lesser ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 709 of file vctFixedSizeConstVectorBase.h.

Referenced by vctQuaternionRotation3Base< vctFixedSizeVector< double, 4 > >::AlmostEquivalent().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::LesserOrEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 719 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Greater ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 729 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::GreaterOrEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The stride and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the two vectors. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 739 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The strides and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the two vectors and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 765 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseNotEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The strides and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the two vectors and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 774 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseLesser ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The strides and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the two vectors and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 783 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseLesserOrEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The strides and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the two vectors and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 792 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseGreater ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The strides and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the two vectors and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 801 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
template<stride_type __stride, class __dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseGreaterOrEqual ( const vctFixedSizeConstVectorBase< _size, __stride, value_type, __dataPtrType > &  otherVector  )  const [inline]

Comparison between two vectors of the same size, containing the same type of elements. The strides and the internal representation (_dataPtrType) can be different. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the two vectors and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 810 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Equal ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 834 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::operator== ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 842 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::NotEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 847 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::operator!= ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 855 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Lesser ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 860 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::LesserOrEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 868 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Greater ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 876 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
bool vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::GreaterOrEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar. The type of the elements of the vector and the scalar must be the same. The comparaison ($ = \neq < \leq > \geq $) for Equal(), NotEqual(), Lesser(), LesserOrEqual(), Greater() or GreaterOrEqual() is performed elementwise between the vector and the scalar. A logical "and" is performed (except for NotEqual which uses a logical "or") to accumulate the elementwise results.. The only operators provided are "==" and "!=" since the semantic is not ambiguous.

Returns:
A boolean.

Definition at line 884 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar, containing the same type of elements. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the vector and the scalar and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 907 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseNotEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar, containing the same type of elements. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the vector and the scalar and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 913 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseLesser ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar, containing the same type of elements. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the vector and the scalar and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 919 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseLesserOrEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar, containing the same type of elements. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the vector and the scalar and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 925 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseGreater ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar, containing the same type of elements. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the vector and the scalar and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 931 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
BoolVectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ElementwiseGreaterOrEqual ( const value_type &  scalar  )  const [inline]

Comparison between a vector and a scalar, containing the same type of elements. The comparaison ($ = \neq < \leq > \geq $) for ElementwiseEqual(), ElementwiseNotEqual(), ElementwiseLesser(), ElementwiseLesserOrEqual(), ElementwiseGreater() or ElementwiseGreaterOrEqual() is performed elementwise between the vector and the scalar and stored in a newly created vector. There is no operator provided since the semantic would be ambiguous.

Returns:
A vector of booleans.

Definition at line 937 of file vctFixedSizeConstVectorBase.h.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
VectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Abs ( void   )  const [inline]

Unary elementwise operations on a vector. For each element of the vector "this", performs $ this[i] \leftarrow op(otherVector[i])$ where $op$ can calculate the absolute value (Abs), the opposite (Negation) or the normalized version (Normalized).

Returns:
A new vector.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
VectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Negation ( void   )  const [inline]

Unary elementwise operations on a vector. For each element of the vector "this", performs $ this[i] \leftarrow op(otherVector[i])$ where $op$ can calculate the absolute value (Abs), the opposite (Negation) or the normalized version (Normalized).

Returns:
A new vector.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
VectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Floor ( void   )  const [inline]

Unary elementwise operations on a vector. For each element of the vector "this", performs $ this[i] \leftarrow op(otherVector[i])$ where $op$ can calculate the absolute value (Abs), the opposite (Negation) or the normalized version (Normalized).

Returns:
A new vector.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
VectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Ceil ( void   )  const [inline]

Unary elementwise operations on a vector. For each element of the vector "this", performs $ this[i] \leftarrow op(otherVector[i])$ where $op$ can calculate the absolute value (Abs), the opposite (Negation) or the normalized version (Normalized).

Returns:
A new vector.

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
VectorValueType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Normalized ( void   )  const throw (std::runtime_error) [inline]

Unary elementwise operations on a vector. For each element of the vector "this", performs $ this[i] \leftarrow op(otherVector[i])$ where $op$ can calculate the absolute value (Abs), the opposite (Negation) or the normalized version (Normalized).

Returns:
A new vector.

Referenced by vctAxisAngleRotation3< _elementType >::AlmostEquivalent().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
void vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ToStream ( std::ostream &  outputStream  )  const [inline]

Print the matrix in a human readable format

Definition at line 1072 of file vctFixedSizeConstVectorBase.h.

Referenced by operator<<(), and vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::ToString().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
void vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::ToStreamRaw ( std::ostream &  outputStream,
const char  delimiter = ' ',
bool  headerOnly = false,
const std::string &  headerPrefix = "" 
) const [inline]

Print data only with optional separator

Definition at line 1094 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFrameBase< _rotationType >::ToStreamRaw().

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
void vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::SerializeRaw ( std::ostream &  outputStream  )  const [inline]

Binary serialization

Definition at line 1117 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFrameBase< _rotationType >::SerializeRaw().


Member Data Documentation

template<vct::size_type _size, vct::stride_type _stride, class _elementType, class _dataPtrType>
_dataPtrType vctFixedSizeConstVectorBase< _size, _stride, _elementType, _dataPtrType >::Data [protected]

A declaration of the vector-defining member object

Definition at line 165 of file vctFixedSizeConstVectorBase.h.

Referenced by vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::begin(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::end(), vctFixedSizeVectorBase< _size, 1, svlPoint2D, vctFixedSizeVectorTraits< svlPoint2D, _size, 1 >::array >::Pointer(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::Pointer(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::rbegin(), vctFixedSizeConstVectorBase< _size, _stride, int, vctFixedSizeVectorTraits< int, _size, 1 >::array >::rend(), and vctFixedSizeVectorRef< _elementType, _size, _stride >::SetRef().


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu