VectorXD< D, T > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/VectorXD.h>

+ Inheritance diagram for VectorXD< D, T >:

Public Types

enum  { Dim = D }
 
typedef const ScalarType * const_iterator
 
typedef ScalarType * iterator
 
typedef T ScalarType
 
typedef MatrixXX< 1, D, T > SuperType
 
typedef VectorXD< D, T > ThisType
 
typedef T value_type
 
- Public Types inherited from MatrixXX< 1, D, T >
typedef Internal::BaseMatrixXX< C, R, T > SuperType
 
typedef MatrixXX< C, R, T > ThisType
 
typedef MatrixXX< R, C, T > TransposedType
 
- Public Types inherited from BaseMatrixXX< C, R, T >
enum  { Rows = R , Cols = C , Entries = C * R }
 
typedef T ScalarType
 
typedef BaseMatrixXX< C, R, T > ThisType
 
typedef T value_type
 

Public Member Functions

ScalarType * begin ()
 
const ScalarType * begin () const
 
ScalarType Distance (const VectorXD< D, T > &v) const
 
ScalarType * end ()
 
const ScalarType * end () const
 
VectorXD< Dim+1, T > Homogene () const
 
ScalarType L1Distance (const VectorXD< D, T > &v) const
 
ScalarType L1Length () const
 
ScalarType Length () const
 
ScalarType MaxDistance (const VectorXD< D, T > &v) const
 
template<class S>
VectorXD< D, T > & operator*= (S s)
 
VectorXD< D, T > & operator+= (const MatrixXX< 1, D, T > &a)
 
VectorXD< D, T > operator- () const
 
VectorXD< D, T > & operator-= (const MatrixXX< 1, D, T > &a)
 
template<class S>
VectorXD< D, T > & operator/= (S s)
 
template<class S>
ThisType & operator= (const MatrixXX< 1, D, S > &v)
 
ThisType & operator= (const SuperType &s)
 
ThisType & operator= (const ThisType &v)
 
bool operator== (const VectorXD< D, T > &a) const
 
ScalarType & operator[] (unsigned int i)
 
ScalarType operator[] (unsigned int i) const
 
ScalarType SqrDistance (const VectorXD< D, T > &v) const
 
ScalarType SqrLength () const
 
 VectorXD ()
 
template<class S>
 VectorXD (const S *v)
 
template<class S>
 VectorXD (const S x, typename std::enable_if< std::is_convertible< S, ScalarType >::value, NullClass >::type &dummy= *((NullClass *) 0))
 
 VectorXD (const SuperType &s)
 
 VectorXD (const T *v)
 
 VectorXD (const VectorXD< D - 1, T > &v, T s)
 
 VectorXD (const VectorXD< D - 2, T > &v, T s, T s2)
 
 VectorXD (const VectorXD< D - 3, T > &v, T s, T s2, T s3)
 
template<class S>
 VectorXD (const VectorXD< D, S > &v)
 
 VectorXD (const VectorXD< D, T > &v)
 
template<unsigned int X>
 VectorXD (const VectorXD< X, T > &vec)
 
 VectorXD (T x)
 
 VectorXD (T x, T y)
 
 VectorXD (T x, T y, T z)
 
 VectorXD (T x, T y, T z, T w)
 
void Zero ()
 
- Public Member Functions inherited from MatrixXX< 1, D, T >
MatrixXX< C, R, T > & ComponentMul (const MatrixXX< C, R, T > &a)
 
MatrixXX< C, R, T > & ComponentMul (const MatrixXX< C, R, T > &a)
 
 MatrixXX ()
 
 MatrixXX ()
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c, const MatrixXX< 1, R, T > &d)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c, const MatrixXX< 1, R, T > &d)
 
 MatrixXX (const SuperType &mat)
 
 MatrixXX (const SuperType &mat)
 
 MatrixXX (const T *m)
 
 MatrixXX (const T *m)
 
 MatrixXX (const ThisType &mat)
 
 MatrixXX (const ThisType &mat)
 
 MatrixXX (T v)
 
 MatrixXX (T v)
 
ThisType & operator= (const ThisType &v)
 
ThisType & operator= (const ThisType &v)
 
ThisType & operator= (T v)
 
ThisType & operator= (T v)
 
TransposedType Transposed ()
 
TransposedType Transposed ()
 
- Public Member Functions inherited from BaseMatrixXX< C, R, T >
T * Data ()
 
const T * Data () const
 
T Normalize ()
 
VectorXD< R, T > & operator[] (unsigned int col)
 
const VectorXD< R, T > & operator[] (unsigned int col) const
 
void Transpose (BaseMatrixXX< R, C, T > *t) const
 
void Zero ()
 

Additional Inherited Members

- Protected Attributes inherited from BaseMatrixXX< C, R, T >
T _m [Entries]
 

Member Typedef Documentation

◆ const_iterator

template<unsigned int D, class T>
typedef const ScalarType* const_iterator

◆ iterator

template<unsigned int D, class T>
typedef ScalarType* iterator

◆ ScalarType

template<unsigned int D, class T>
typedef T ScalarType

◆ SuperType

template<unsigned int D, class T>
typedef MatrixXX<1, D, T> SuperType

◆ ThisType

template<unsigned int D, class T>
typedef VectorXD<D, T> ThisType

◆ value_type

template<unsigned int D, class T>
typedef T value_type

Member Enumeration Documentation

◆ anonymous enum

template<unsigned int D, class T>
anonymous enum
Enumerator
Dim 

Constructor & Destructor Documentation

◆ VectorXD() [1/15]

template<unsigned int D, class T>
VectorXD ( )
inline

◆ VectorXD() [2/15]

template<unsigned int D, class T>
VectorXD ( const VectorXD< D, T > & v)
inline

◆ VectorXD() [3/15]

template<unsigned int D, class T>
VectorXD ( const T * v)
inlineexplicit

◆ VectorXD() [4/15]

template<unsigned int D, class T>
template<class S>
VectorXD ( const S * v)
inlineexplicit

◆ VectorXD() [5/15]

template<unsigned int D, class T>
template<class S>
VectorXD ( const VectorXD< D, S > & v)
inlineexplicit

◆ VectorXD() [6/15]

template<unsigned int D, class T>
VectorXD ( const SuperType & s)
inline

◆ VectorXD() [7/15]

template<unsigned int D, class T>
VectorXD ( T x)
inlineexplicit

◆ VectorXD() [8/15]

template<unsigned int D, class T>
template<class S>
VectorXD ( const S x,
typename std::enable_if< std::is_convertible< S, ScalarType >::value, NullClass >::type & dummy = *((NullClass*)0) )
inlineexplicit

◆ VectorXD() [9/15]

template<unsigned int D, class T>
template<unsigned int X>
VectorXD ( const VectorXD< X, T > & vec)
inlineexplicit

◆ VectorXD() [10/15]

template<unsigned int D, class T>
VectorXD ( const VectorXD< D - 1, T > & v,
T s )
inlineexplicit

◆ VectorXD() [11/15]

template<unsigned int D, class T>
VectorXD ( const VectorXD< D - 2, T > & v,
T s,
T s2 )
inlineexplicit

◆ VectorXD() [12/15]

template<unsigned int D, class T>
VectorXD ( const VectorXD< D - 3, T > & v,
T s,
T s2,
T s3 )
inlineexplicit

◆ VectorXD() [13/15]

template<unsigned int D, class T>
VectorXD ( T x,
T y )
inline

◆ VectorXD() [14/15]

template<unsigned int D, class T>
VectorXD ( T x,
T y,
T z )
inline

◆ VectorXD() [15/15]

template<unsigned int D, class T>
VectorXD ( T x,
T y,
T z,
T w )
inline

Member Function Documentation

◆ begin() [1/2]

template<unsigned int D, class T>
ScalarType * begin ( )
inline

◆ begin() [2/2]

template<unsigned int D, class T>
const ScalarType * begin ( ) const
inline

◆ Distance()

template<unsigned int D, class T>
ScalarType Distance ( const VectorXD< D, T > & v) const
inline

◆ end() [1/2]

template<unsigned int D, class T>
ScalarType * end ( )
inline

◆ end() [2/2]

template<unsigned int D, class T>
const ScalarType * end ( ) const
inline

◆ Homogene()

template<unsigned int D, class T>
VectorXD< Dim+1, T > Homogene ( ) const
inline

◆ L1Distance()

template<unsigned int D, class T>
ScalarType L1Distance ( const VectorXD< D, T > & v) const
inline

◆ L1Length()

template<unsigned int D, class T>
ScalarType L1Length ( ) const
inline

◆ Length()

template<unsigned int D, class T>
ScalarType Length ( ) const
inline

◆ MaxDistance()

template<unsigned int D, class T>
ScalarType MaxDistance ( const VectorXD< D, T > & v) const
inline

◆ operator*=()

template<unsigned int D, class T>
template<class S>
VectorXD< D, T > & operator*= ( S s)
inline

◆ operator+=()

template<unsigned int D, class T>
VectorXD< D, T > & operator+= ( const MatrixXX< 1, D, T > & a)
inline

◆ operator-()

template<unsigned int D, class T>
VectorXD< D, T > operator- ( ) const
inline

◆ operator-=()

template<unsigned int D, class T>
VectorXD< D, T > & operator-= ( const MatrixXX< 1, D, T > & a)
inline

◆ operator/=()

template<unsigned int D, class T>
template<class S>
VectorXD< D, T > & operator/= ( S s)
inline

◆ operator=() [1/3]

template<unsigned int D, class T>
template<class S>
ThisType & operator= ( const MatrixXX< 1, D, S > & v)
inline

◆ operator=() [2/3]

template<unsigned int D, class T>
ThisType & operator= ( const SuperType & s)
inline

◆ operator=() [3/3]

template<unsigned int D, class T>
ThisType & operator= ( const ThisType & v)
inline

◆ operator==()

template<unsigned int D, class T>
bool operator== ( const VectorXD< D, T > & a) const
inline

◆ operator[]() [1/2]

template<unsigned int D, class T>
ScalarType & operator[] ( unsigned int i)
inline

◆ operator[]() [2/2]

template<unsigned int D, class T>
ScalarType operator[] ( unsigned int i) const
inline

◆ SqrDistance()

template<unsigned int D, class T>
ScalarType SqrDistance ( const VectorXD< D, T > & v) const
inline

◆ SqrLength()

template<unsigned int D, class T>
ScalarType SqrLength ( ) const
inline

◆ Zero()

template<unsigned int D, class T>
void Zero ( )
inline

The documentation for this class was generated from the following files: