8 #ifndef META_OCEAN_MATH_MATH_H
9 #define META_OCEAN_MATH_MATH_H
16 #if defined(OCEAN_HARDWARE_SSE_VERSION) && OCEAN_HARDWARE_SSE_VERSION >= 41
18 #include <emmintrin.h>
22 #include <pmmintrin.h>
26 #include <smmintrin.h>
28 #if defined(OCEAN_HARDWARE_AVX_VERSION) && OCEAN_HARDWARE_AVX_VERSION > 0
30 #include <immintrin.h>
34 #if defined(OCEAN_HARDWARE_NEON_VERSION) && OCEAN_HARDWARE_NEON_VERSION >= 10
35 #if defined(__ARM_NEON__) || defined(__ARM_NEON)
114 #ifdef OCEAN_HARDWARE_REDUCED_PERFORMANCE
115 #ifndef OCEAN_MATH_USE_SINGLE_PRECISION
116 #define OCEAN_MATH_USE_SINGLE_PRECISION
123 #ifdef OCEAN_MATH_USE_SINGLE_PRECISION
145 typedef std::vector<Scalar>
Scalars;
148 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
149 #ifdef USE_OCEAN_MATH_EXPORT
150 #define OCEAN_MATH_EXPORT __declspec(dllexport)
152 #define OCEAN_MATH_EXPORT __declspec(dllimport)
155 #define OCEAN_MATH_EXPORT
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< Scalar > Scalars
Definition of a vector holding Scalar objects.
Definition: Math.h:144
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15