Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omSIMDScalar.h File Reference
#include "omMathConfig.h"
#include "omScalarMath.h"
#include "omSIMDConfig.h"
#include "omSIMDTypes.h"

Classes

class  om::math::SIMDScalar< T, width >
 The prototype for the SIMDScalar class. 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 width>
SIMDScalar< T, width > om::math::operator+ (const T value, const SIMDScalar< T, width > &scalar)
 Add a scalar value to each component of this scalar and return the resulting scalar. More...
 
template<typename T , Size width>
SIMDScalar< T, width > om::math::operator- (const Float32 value, const SIMDScalar< T, width > &scalar)
 Subtract a scalar value from each component of this scalar and return the resulting scalar. More...
 
template<typename T , Size width>
SIMDScalar< T, width > om::math::operator* (const Float32 value, const SIMDScalar< T, width > &scalar)
 Multiply a scalar value by each component of this scalar and return the resulting scalar. More...
 
template<typename T , Size width>
SIMDScalar< T, width > om::math::operator/ (const Float32 value, const SIMDScalar< T, width > &scalar)
 Divide each component of this scalar by a scalar value and return the resulting scalar. More...