Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omVectorND.h File Reference
#include "omMathConfig.h"
#include "../data/omString.h"
#include "../data/omStringBuffer.h"

Classes

class  om::math::VectorND< T, dimension >
 A class that represents a vector of a fixed arbitrary number of components. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

template<typename T , Size dimension>
VectorND< T, dimension > om::math::operator* (const T &c, const VectorND< T, dimension > &vector)
 Multiply every component of a vector by a scalar value and return the resulting vector. More...
 
template<typename T , Size dimension>
VectorND< T, dimension > om::math::operator+ (const T &c, const VectorND< T, dimension > &vector)
 Multiply every component of a vector by a scalar value and return the resulting vector. More...
 
template<typename T , Size dimension>
om::math::dot (const VectorND< T, dimension > &v1, const VectorND< T, dimension > &v2)
 Return the dot product of two vectors. More...
 
template<typename T , Size dimension>
VectorND< T, dimension > om::math::midpoint (const VectorND< T, dimension > &v1, const VectorND< T, dimension > &v2)
 Return the midpoint of two vectors. More...