Newton Dynamics  4.00
ndTemplateVector< T > Class Template Reference
Inheritance diagram for ndTemplateVector< T >:
ndClassAlloc

Public Member Functions

 ndTemplateVector (const T *const ptr)
 
 ndTemplateVector (const ndTemplateVector< T > &copy)
 
 ndTemplateVector (T x, T y, T z, T w)
 
T & operator[] (ndInt32 i)
 
const T & operator[] (ndInt32 i) const
 
GetScalar () const
 
ndTemplateVector< T > Scale (T scale) const
 
ndTemplateVector< T > operator+ (const ndTemplateVector< T > &B) const
 
ndTemplateVector< T > & operator+= (const ndTemplateVector< T > &A)
 
ndTemplateVector< T > operator- (const ndTemplateVector< T > &A) const
 
ndTemplateVector< T > & operator-= (const ndTemplateVector< T > &A)
 
ndTemplateVector< T > operator* (const ndTemplateVector< T > &B) const
 
ndTemplateVector< T > operator*= (const ndTemplateVector< T > &B) const
 
ndTemplateVector< T > AddHorizontal () const
 
ndTemplateVector< T > MulAdd (const ndTemplateVector< T > &A, const ndTemplateVector< T > &B) const
 
ndTemplateVector< T > MulSub (const ndTemplateVector< T > &A, const ndTemplateVector< T > &B) const
 
ndTemplateVector< T > CrossProduct (const ndTemplateVector< T > &B) const
 
ndTemplateVector< T > CrossProduct (const ndTemplateVector &A, const ndTemplateVector &B) const
 
ndTemplateVector< T > DotProduct (const ndTemplateVector &A) const
 
GetMax () const
 
ndTemplateVector< T > GetMax (const ndTemplateVector< T > &data) const
 
ndTemplateVector< T > GetMin (const ndTemplateVector< T > &data) const
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

m_x
 
m_y
 
m_z
 
m_w
 

Additional Inherited Members

- Static Public Member Functions inherited from ndClassAlloc
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * Malloc (size_t size)
 Generic allocation for any function subclass from ndClassAlloc.
 
static D_CORE_API void Free (void *const ptr)
 Generic destruction for any function subclass from ndClassAlloc.