UT/UT_Vector.h File Reference

#include "UT_API.h"
#include <stdlib.h>
#include <iostream.h>
#include <SYS/SYS_Types.h>
#include "UT_Assert.h"
#include "UT_ThreadedAlgorithm.h"
#include "UT_VectorTypes.h"

Go to the source code of this file.

Classes

class  UT_VectorT< T >
class  UT_PermutationT< T >

Typedefs

typedef UT_PermutationT< int > UT_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.
fpreal64 distance2 (const UT_VectorD &v1, const UT_VectorD &v2)
 Distance squared (L2) aka quadrance.


Typedef Documentation

Definition at line 327 of file UT_Vector.h.

Definition at line 331 of file UT_Vector.h.

Definition at line 330 of file UT_Vector.h.

Definition at line 329 of file UT_Vector.h.

Definition at line 328 of file UT_Vector.h.


Function Documentation

fpreal32 distance2 ( const UT_VectorD v1,
const UT_VectorD v2 
) [inline]

Distance squared (L2) aka quadrance.

Examples:
POP/POP_CircleForce.C, and SIM/SIM_ForceOrbit.C.

Definition at line 353 of file UT_Vector.h.

fpreal32 dot ( const UT_VectorD v1,
const UT_VectorD v2 
) [inline]

Dot product.

Definition at line 346 of file UT_Vector.h.


Generated on Thu Jan 31 00:29:17 2013 for HDK by  doxygen 1.5.9