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

Classes

class  om::math::SIMDArray< Float32, width >
 A class representing an N-component 32-bit floating-point SIMD scalar. 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<Size width>
SIMDArray< Float32, width > om::math::operator+ (const Float32 value, const SIMDArray< Float32, width > &scalar)
 Add a scalar value to each component of this scalar and return the resulting scalar. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::operator- (const Float32 value, const SIMDArray< Float32, width > &scalar)
 Subtract a scalar value from each component of this scalar and return the resulting scalar. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::operator* (const Float32 value, const SIMDArray< Float32, width > &scalar)
 Multiply a scalar value by each component of this scalar and return the resulting scalar. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::operator/ (const Float32 value, const SIMDArray< Float32, width > &scalar)
 Divide each component of this scalar by a scalar value and return the resulting scalar. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::abs (const SIMDArray< Float32, width > &scalar)
 Compute the absolute value of each component of the specified SIMD scalar and return the result. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::ceiling (const SIMDArray< Float32, width > &scalar)
 Compute the ceiling of each component of the specified SIMD scalar and return the result. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::floor (const SIMDArray< Float32, width > &scalar)
 Compute the floor of each component of the specified SIMD scalar and return the result. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::sqrt (const SIMDArray< Float32, width > &scalar)
 Compute the square root of each component of the specified SIMD scalar and return the result. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::min (const SIMDArray< Float32, width > &scalar1, const SIMDArray< Float32, width > &scalar2)
 Compute the minimum of each component of the specified SIMD scalars and return the result. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::max (const SIMDArray< Float32, width > &scalar1, const SIMDArray< Float32, width > &scalar2)
 Compute the maximum of each component of the specified SIMD scalars and return the result. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::select (const SIMDArray< Int32, width > &selector, const SIMDArray< Float32, width > &scalar1, const SIMDArray< Float32, width > &scalar2)
 Select elements from the first SIMD scalar if the selector is TRUE, otherwise from the second. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::ln (const SIMDArray< Float32, width > &scalar)
 Compute and return the natural logarithm of the specified vector. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::log10 (const SIMDArray< Float32, width > &scalar)
 Compute and return the base-10 logarithm of the specified vector. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::sin (const SIMDArray< Float32, width > &scalar)
 Compute and return the sine of the specified vector. More...
 
template<Size width>
SIMDArray< Float32, width > om::math::cos (const SIMDArray< Float32, width > &scalar)
 Compute and return the cosine of the specified vector. More...