HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Vector.h File Reference
#include "UT_API.h"
#include <stdlib.h>
#include <iosfwd>
#include <SYS/SYS_Types.h>
#include "UT_Assert.h"
#include "UT_ThreadedAlgorithm.h"
#include "UT_VectorTypes.h"
#include "UT_Vector.C"
+ Include dependency graph for UT_Vector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_VectorT< T >
 
class  UT_PermutationT< T >
 

Typedefs

typedef UT_PermutationT< intUT_Permutation
 
typedef UT_VectorT< fprealUT_VectorR
 
typedef UT_VectorT< fpreal32UT_VectorF
 
typedef UT_VectorT< fpreal64UT_VectorD
 
typedef UT_VectorT< fpreal64UT_Vector
 

Functions

fpreal64 dot (const UT_VectorD &v1, const UT_VectorD &v2)
 Dot product. More...
 
fpreal64 distance2 (const UT_VectorD &v1, const UT_VectorD &v2)
 Distance squared (L2) aka quadrance. More...
 
fpreal32 dot (const UT_VectorF &v1, const UT_VectorF &v2)
 
fpreal32 distance2 (const UT_VectorF &v1, const UT_VectorF &v2)
 Distance squared (L2) aka quadrance. More...
 
template<typename T >
size_t format (char *buffer, size_t buffer_size, const UT_VectorT< T > &v)
 

Typedef Documentation

Definition at line 373 of file UT_Vector.h.

Definition at line 377 of file UT_Vector.h.

Definition at line 376 of file UT_Vector.h.

Definition at line 375 of file UT_Vector.h.

Definition at line 374 of file UT_Vector.h.

Function Documentation

fpreal64 distance2 ( const UT_VectorD v1,
const UT_VectorD v2 
)
inline

Distance squared (L2) aka quadrance.

Examples:
SIM/SIM_ForceOrbit.C.

Definition at line 399 of file UT_Vector.h.

fpreal32 distance2 ( const UT_VectorF v1,
const UT_VectorF v2 
)
inline

Distance squared (L2) aka quadrance.

Definition at line 412 of file UT_Vector.h.

fpreal64 dot ( const UT_VectorD v1,
const UT_VectorD v2 
)
inline

Dot product.

Definition at line 392 of file UT_Vector.h.

fpreal32 dot ( const UT_VectorF v1,
const UT_VectorF v2 
)
inline

Definition at line 405 of file UT_Vector.h.

template<typename T >
size_t format ( char *  buffer,
size_t  buffer_size,
const UT_VectorT< T > &  v 
)
inline