Skip to content

Class mediapipe::deps::internal_vector::BasicVector

template <template< typename > class VecTemplate, typename T, std::size_t N>

ClassList > mediapipe > deps > internal_vector > BasicVector

Inherited by the following classes: Vector2, Vector3, Vector4

Public Types

Type Name
enum BasicVector

Public Functions

Type Name
D Ceil () const
void Clear ()
D DivComponents (const D & b) const
D DivScalarInternal (const K & k) const
T DotProd (const D & b) const
D FRound () const
D Floor () const
VecTemplate< int > IRound () const
bool IsNaN () const
D MulComponents (const D & b) const
D MulScalarInternal (const K & k) const
FloatType Norm () const
T Norm2 () const
D Normalize () const
D Sqrt () const
bool operator!= (const D & b) const
D operator* (T k) const
D & operator*= (T k)
D operator+ (const D & b) const
D & operator+= (const D & b)
D operator- (const D & b) const
D & operator-= (const D & b)
D operator/ (T k) const
D & operator/= (T k)
bool operator< (const D & b) const
bool operator<= (const D & b) const
bool operator== (const D & b) const
bool operator> (const D & b) const
bool operator>= (const D & b) const
T & operator[] (int b)
T operator[] (int b) const

Public Static Functions

Type Name
D Cast (const VecTemplate< T2 > & b)
D NaN ()
int Size ()

Protected Types

Type Name
typedef std::conditional< std::is_integral< T >::value, double, T >::type FloatType
typedef typename absl::make_index_sequence< N > IdxSeqN

Protected Static Functions

Type Name
R Generate (F f, As &&... as)
R GenerateEach (absl::index_sequence< Is... >, F f, As *... as)
auto Reduce (F f, As *... as)

Public Types Documentation

enum BasicVector

enum mediapipe::deps::internal_vector::BasicVector::BasicVector {
    SIZE = N
};

Public Functions Documentation

function Ceil

inline D mediapipe::deps::internal_vector::BasicVector::Ceil () const

function Clear

inline void mediapipe::deps::internal_vector::BasicVector::Clear () 

function DivComponents

inline D mediapipe::deps::internal_vector::BasicVector::DivComponents (
    const D & b
) const

function DivScalarInternal

template<typename K>
inline D mediapipe::deps::internal_vector::BasicVector::DivScalarInternal (
    const K & k
) const

function DotProd

inline T mediapipe::deps::internal_vector::BasicVector::DotProd (
    const D & b
) const

function FRound

inline D mediapipe::deps::internal_vector::BasicVector::FRound () const

function Floor

inline D mediapipe::deps::internal_vector::BasicVector::Floor () const

function IRound

inline VecTemplate< int > mediapipe::deps::internal_vector::BasicVector::IRound () const

function IsNaN

inline bool mediapipe::deps::internal_vector::BasicVector::IsNaN () const

function MulComponents

inline D mediapipe::deps::internal_vector::BasicVector::MulComponents (
    const D & b
) const

function MulScalarInternal

template<typename K>
inline D mediapipe::deps::internal_vector::BasicVector::MulScalarInternal (
    const K & k
) const

function Norm

inline FloatType mediapipe::deps::internal_vector::BasicVector::Norm () const

function Norm2

inline T mediapipe::deps::internal_vector::BasicVector::Norm2 () const

function Normalize

inline D mediapipe::deps::internal_vector::BasicVector::Normalize () const

function Sqrt

inline D mediapipe::deps::internal_vector::BasicVector::Sqrt () const

function operator!=

inline bool mediapipe::deps::internal_vector::BasicVector::operator!= (
    const D & b
) const

function operator*

inline D mediapipe::deps::internal_vector::BasicVector::operator* (
    T k
) const

function operator*=

inline D & mediapipe::deps::internal_vector::BasicVector::operator*= (
    T k
) 

function operator+

inline D mediapipe::deps::internal_vector::BasicVector::operator+ (
    const D & b
) const

function operator+=

inline D & mediapipe::deps::internal_vector::BasicVector::operator+= (
    const D & b
) 

function operator-

inline D mediapipe::deps::internal_vector::BasicVector::operator- (
    const D & b
) const

function operator-=

inline D & mediapipe::deps::internal_vector::BasicVector::operator-= (
    const D & b
) 

function operator/

inline D mediapipe::deps::internal_vector::BasicVector::operator/ (
    T k
) const

function operator/=

inline D & mediapipe::deps::internal_vector::BasicVector::operator/= (
    T k
) 

function operator<

inline bool mediapipe::deps::internal_vector::BasicVector::operator< (
    const D & b
) const

function operator<=

inline bool mediapipe::deps::internal_vector::BasicVector::operator<= (
    const D & b
) const

function operator==

inline bool mediapipe::deps::internal_vector::BasicVector::operator== (
    const D & b
) const

function operator>

inline bool mediapipe::deps::internal_vector::BasicVector::operator> (
    const D & b
) const

function operator>=

inline bool mediapipe::deps::internal_vector::BasicVector::operator>= (
    const D & b
) const

function operator[]

inline T & mediapipe::deps::internal_vector::BasicVector::operator[] (
    int b
) 

function operator[]

inline T mediapipe::deps::internal_vector::BasicVector::operator[] (
    int b
) const

Public Static Functions Documentation

function Cast

template<typename T2>
static inline D mediapipe::deps::internal_vector::BasicVector::Cast (
    const VecTemplate< T2 > & b
) 

function NaN

static inline D mediapipe::deps::internal_vector::BasicVector::NaN () 

function Size

static inline int mediapipe::deps::internal_vector::BasicVector::Size () 

Protected Types Documentation

typedef FloatType

typedef std::conditional<std::is_integral<T>::value,double,T>::type mediapipe::deps::internal_vector::BasicVector< VecTemplate, T, N >::FloatType;

typedef IdxSeqN

using mediapipe::deps::internal_vector::BasicVector< VecTemplate, T, N >::IdxSeqN =  typename absl::make_index_sequence<N>;

Protected Static Functions Documentation

function Generate

template<typename R, typename F, typename... As>
static inline R mediapipe::deps::internal_vector::BasicVector::Generate (
    F f,
    As &&... as
) 

function GenerateEach

template<typename R, std::size_t... Is, typename F, typename... As>
static inline R mediapipe::deps::internal_vector::BasicVector::GenerateEach (
    absl::index_sequence< Is... >,
    F f,
    As *... as
) 

function Reduce

template<std::size_t I, typename F, typename... As>
static inline auto mediapipe::deps::internal_vector::BasicVector::Reduce (
    F f,
    As *... as
) 

Friends Documentation

friend Max

inline D mediapipe::deps::internal_vector::BasicVector::Max (
    const D & a,
    const D & b
) 

friend Min

inline D mediapipe::deps::internal_vector::BasicVector::Min (
    const D & a,
    const D & b
) 

friend operator-

inline D mediapipe::deps::internal_vector::BasicVector::operator- (
    const D & a
) 

friend operator<<

inline std::ostream & mediapipe::deps::internal_vector::BasicVector::operator<< (
    std::ostream & out,
    const D & v
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/deps/vector.h