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

Classes

class  om::math::SIMDScalar< Float64, 2 >
 A class representing a 2-component 64-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

SIMDScalar< Float64, 2 > om::math::abs (const SIMDScalar< Float64, 2 > &scalar)
 Compute the absolute value of each component of the specified SIMD scalar and return the result. More...
 
SIMDScalar< Float64, 2 > om::math::ceiling (const SIMDScalar< Float64, 2 > &scalar)
 Compute the ceiling of each component of the specified SIMD scalar and return the result. More...
 
SIMDScalar< Float64, 2 > om::math::floor (const SIMDScalar< Float64, 2 > &scalar)
 Compute the floor of each component of the specified SIMD scalar and return the result. More...
 
SIMDScalar< Float64, 2 > om::math::sqrt (const SIMDScalar< Float64, 2 > &scalar)
 Compute the square root of each component of the specified SIMD scalar and return the result. More...
 
template<UInt i1, UInt i2>
SIMDScalar< Float64, 2 > om::math::shuffle (const SIMDScalar< Float64, 2 > &scalar)
 Pick 2 elements from the specified SIMD scalar and return the result. More...
 
template<UInt i1, UInt i2>
SIMDScalar< Float64, 2 > om::math::shuffle (const SIMDScalar< Float64, 2 > &scalar1, const SIMDScalar< Float64, 2 > &scalar2)
 Pick one element from each SIMD scalar and return the result. More...
 
SIMDScalar< Float64, 2 > om::math::select (const SIMDScalar< Int64, 2 > &selector, const SIMDScalar< Float64, 2 > &scalar1, const SIMDScalar< Float64, 2 > &scalar2)
 Select elements from the first SIMD scalar if the selector is TRUE, otherwise from the second. More...
 
SIMDScalar< Float64, 2 > om::math::subAdd (const SIMDScalar< Float64, 2 > &scalar1, const SIMDScalar< Float64, 2 > &scalar2)
 Subtract the first and third elements and add the second and fourth. More...
 
SIMDScalar< Float64, 2 > om::math::min (const SIMDScalar< Float64, 2 > &scalar1, const SIMDScalar< Float64, 2 > &scalar2)
 Compute the minimum of each component of the specified SIMD scalars and return the result. More...
 
SIMDScalar< Float64, 2 > om::math::max (const SIMDScalar< Float64, 2 > &scalar1, const SIMDScalar< Float64, 2 > &scalar2)
 Compute the maximum of each component of the specified SIMD scalars and return the result. More...
 
SIMDScalar< Float64, 2 > om::math::min (const SIMDScalar< Float64, 2 > &scalar)
 Compute the minimum component of the specified SIMD scalar and return the wide result. More...
 
SIMDScalar< Float64, 2 > om::math::max (const SIMDScalar< Float64, 2 > &scalar)
 Compute the maximum component of the specified SIMD scalar and return the wide result. More...