ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Math::MatrixType< dim, 1 > Class Template Reference

#include <vector.h>

Inheritance diagram for Math::MatrixType< dim, 1 >:
Collaboration diagram for Math::MatrixType< dim, 1 >:

List of all members.

Public Member Functions

void normalize ()
 Vector (dim) getNormalized() const
float getMagnitude () const
float getSquareMagnitude () const
float getDistanceTo (const Vector(dim)&point) const
float dotProduct (const Vector(dim)&v) const
void setValue (int i, float val)
float getValue (int i) const
void readFromStream (Common::ReadStream *stream)
 Reads dim floats from the passed stream, and uses them as value 0...dim in chronological order.

Static Public Member Functions

template<int d>
static float dotProduct (const Vector(d)&v1, const Vector(d)&v2)

Protected Member Functions

 MatrixType ()
 MatrixType (const float *data)
 MatrixType (const MatrixBase< dim, 1 > &m)
float & value (int i)
float value (int i) const

Detailed Description

template<int dim>
class Math::MatrixType< dim, 1 >

Definition at line 38 of file vector.h.


Constructor & Destructor Documentation

template<int dim>
Math::MatrixType< dim, 1 >::MatrixType (  )  [inline, protected]

Definition at line 62 of file vector.h.

template<int dim>
Math::MatrixType< dim, 1 >::MatrixType ( const float *  data  )  [inline, protected]

Definition at line 63 of file vector.h.

template<int dim>
Math::MatrixType< dim, 1 >::MatrixType ( const MatrixBase< dim, 1 > &  m  )  [inline, protected]

Definition at line 64 of file vector.h.


Member Function Documentation

template<int dim>
float Math::MatrixType< dim, 1 >::dotProduct ( const Vector(dim)&  v  )  const

Definition at line 112 of file vector.h.

template<int dim>
template<int d>
static float Math::MatrixType< dim, 1 >::dotProduct ( const Vector(d)&  v1,
const Vector(d)&  v2 
) [inline, static]

Definition at line 51 of file vector.h.

template<int dim>
float Math::MatrixType< dim, 1 >::getDistanceTo ( const Vector(dim)&  point  )  const

Definition at line 103 of file vector.h.

template<int dim>
float Math::MatrixType< dim, 1 >::getMagnitude (  )  const

Definition at line 89 of file vector.h.

template<int dim>
float Math::MatrixType< dim, 1 >::getSquareMagnitude (  )  const

Definition at line 94 of file vector.h.

template<int dim>
float Math::MatrixType< dim, 1 >::getValue ( int  i  )  const [inline]

Definition at line 48 of file vector.h.

template<int dim>
void Math::MatrixType< dim, 1 >::normalize (  ) 

Definition at line 72 of file vector.h.

template<int dim>
void Math::MatrixType< dim, 1 >::readFromStream ( Common::ReadStream stream  ) 

Reads dim floats from the passed stream, and uses them as value 0...dim in chronological order.

Definition at line 121 of file vector.h.

template<int dim>
void Math::MatrixType< dim, 1 >::setValue ( int  i,
float  val 
) [inline]

Definition at line 47 of file vector.h.

template<int dim>
float Math::MatrixType< dim, 1 >::value ( int  i  )  const [inline, protected]

Definition at line 67 of file vector.h.

template<int dim>
float& Math::MatrixType< dim, 1 >::value ( int  i  )  [inline, protected]

Definition at line 66 of file vector.h.

template<int dim>
Math::MatrixType< dim, 1 >::Vector ( dim   )  const

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


Generated on Sat Sep 14 2019 05:04:44 for ResidualVM by doxygen 1.7.1
curved edge   curved edge