HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT::Accumulator< UT_FixedVector< T, S > > Class Template Reference

#include <UT_Accumulator.h>

Public Types

using V = UT_FixedVector< T, S >
 

Public Member Functions

 Accumulator (const V &init_val=V(T(0.0)))
 
SYS_FORCE_INLINE Voperator+= (const V &rhs)
 
V sum () const
 

Detailed Description

template<typename T, int S>
class UT::Accumulator< UT_FixedVector< T, S > >

Definition at line 51 of file UT_Accumulator.h.

Member Typedef Documentation

template<typename T , int S>
using UT::Accumulator< UT_FixedVector< T, S > >::V = UT_FixedVector<T, S>

Definition at line 54 of file UT_Accumulator.h.

Constructor & Destructor Documentation

template<typename T , int S>
UT::Accumulator< UT_FixedVector< T, S > >::Accumulator ( const V init_val = V(T(0.0)))
inlineexplicit

Definition at line 56 of file UT_Accumulator.h.

Member Function Documentation

template<typename T , int S>
SYS_FORCE_INLINE V& UT::Accumulator< UT_FixedVector< T, S > >::operator+= ( const V rhs)
inline

Definition at line 60 of file UT_Accumulator.h.

template<typename T , int S>
V UT::Accumulator< UT_FixedVector< T, S > >::sum ( ) const
inline

Definition at line 74 of file UT_Accumulator.h.


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