HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_FixedVector.h File Reference
#include "UT_Assert.h"
#include "UT_FixedArrayMath.h"
#include "UT_FixedVectorTraits.h"
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <SYS/SYS_TypeTraits.h>
#include <SYS/SYS_TypeDecorate.h>
#include <utility>
+ Include dependency graph for UT_FixedVector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UT_FixedVectorFixed< T, D >
 
class  UT_FixedVector< T, D >
 
struct  UT_FixedVectorUniform< T, D >
 
struct  UT_FixedVectorZero< T, D >
 
struct  UT_FixedVectorTraits< UT_FixedVector< T, D > >
 
struct  SYS_IsFixedArrayNoCVRef< UT_FixedVector< T, D > >
 
struct  SYS_FixedArrayElementNoCVRef< UT_FixedVector< T, D > >
 
struct  SYS_FixedArraySizeNoCVRef< UT_FixedVector< T, D > >
 
struct  UT_FixedVectorFixed< T, D >
 
struct  UT_FromFixed< V >
 
struct  UT_FromFixed< UT_FixedVector< T, D > >
 
struct  SafeTrivialRelocationNoCV< UT_FixedVector< T, D > >
 
struct  UnsafeTrivialRelocationNoCV< UT_FixedVector< T, D > >
 

Macros

#define __UT_FixedVector__
 

Functions

template<typename T , exint D>
constexpr T length (const UT_FixedVector< T, D > &a) noexcept
 
template<typename T , exint D>
constexpr T distance (const UT_FixedVector< T, D > &a, const UT_FixedVector< T, D > &b) noexcept
 
template<typename T , exint D>
constexpr T normalize (UT_FixedVector< T, D > &a) noexcept
 
template<typename T , exint D>
constexpr UT_FixedVector< T, D > productComponentwise (const UT_FixedVector< T, D > &a, const UT_FixedVector< T, D > &b) noexcept
 
template<typename T , exint D>
constexpr UT_FixedVector< T, D > quotientComponentwise (const UT_FixedVector< T, D > &a, const UT_FixedVector< T, D > &b) noexcept
 
template<typename T , exint D>
constexpr UT_FixedVector< T, D > operator+ (const UT_FixedVector< T, D > &a, const UT_FixedVector< T, D > &b) noexcept
 
template<typename T , exint D>
constexpr UT_FixedVector< T, D > operator- (const UT_FixedVector< T, D > &a, const UT_FixedVector< T, D > &b) noexcept
 
template<typename TS >
constexpr UT_FixedVector
< SYS_FixedArrayElement_t< TS >
, SYS_FixedArraySize_v< TS > > 
UTmakeFixedVector (const TS &as) noexcept
 

Macro Definition Documentation

#define __UT_FixedVector__

Definition at line 20 of file UT_FixedVector.h.

Function Documentation

template<typename T , exint D>
constexpr T distance ( const UT_FixedVector< T, D > &  a,
const UT_FixedVector< T, D > &  b 
)
noexcept

Definition at line 194 of file UT_FixedVector.h.

template<typename T , exint D>
constexpr T length ( const UT_FixedVector< T, D > &  a)
noexcept

Definition at line 188 of file UT_FixedVector.h.

template<typename T , exint D>
constexpr T normalize ( UT_FixedVector< T, D > &  a)
noexcept
template<typename T , exint D>
constexpr UT_FixedVector< T, D > operator+ ( const UT_FixedVector< T, D > &  a,
const UT_FixedVector< T, D > &  b 
)
noexcept

Definition at line 253 of file UT_FixedVector.h.

template<typename T , exint D>
constexpr UT_FixedVector< T, D > operator- ( const UT_FixedVector< T, D > &  a,
const UT_FixedVector< T, D > &  b 
)
noexcept

Definition at line 261 of file UT_FixedVector.h.

template<typename T , exint D>
constexpr UT_FixedVector< T, D > productComponentwise ( const UT_FixedVector< T, D > &  a,
const UT_FixedVector< T, D > &  b 
)
noexcept

Definition at line 209 of file UT_FixedVector.h.

template<typename T , exint D>
constexpr UT_FixedVector< T, D > quotientComponentwise ( const UT_FixedVector< T, D > &  a,
const UT_FixedVector< T, D > &  b 
)
noexcept

Definition at line 220 of file UT_FixedVector.h.

template<typename TS >
constexpr UT_FixedVector< SYS_FixedArrayElement_t< TS >, SYS_FixedArraySize_v< TS > > UTmakeFixedVector ( const TS &  as)
noexcept

Definition at line 307 of file UT_FixedVector.h.