AM_Math.h File Reference

Approximated mathematical functions using SSE. More...

#include "../../Config.h"
#include <stddef.h>
#include <xmmintrin.h>

Go to the source code of this file.

Namespaces

namespace  exmat
namespace  exmat::Math
namespace  exmat::Math::SSE
float exmat::Math::SSE::am_rcp_0 (float x)
 Return 1/x (fastest version).
__m128 exmat::Math::SSE::am_rcp_0 (__m128 x)
 Return 1/x (fastest version).
void exmat::Math::SSE::am_rcp_0 (const float *in, float *out, size_t N)
 Return 1/x (fastest version).
float exmat::Math::SSE::am_rcp_1 (float x)
 Return 1/x (accurate version).
__m128 exmat::Math::SSE::am_rcp_1 (__m128 x)
 Return 1/x (fastest version).
void exmat::Math::SSE::am_rcp_1 (const float *in, float *out, size_t N)
 Return 1/x (fastest version).
float exmat::Math::SSE::am_sqrt_0 (float x)
 Square root value of x.
__m128 exmat::Math::SSE::am_sqrt_0 (__m128 x)
 Square root value of x.
void exmat::Math::SSE::am_sqrt_0 (const float *in, float *out, size_t N)
 Square root value of x.
float exmat::Math::SSE::am_sqrt_1 (float x)
 Square root value of x.
__m128 exmat::Math::SSE::am_sqrt_1 (__m128 x)
 Square root value of x.
void exmat::Math::SSE::am_sqrt_1 (const float *in, float *out, size_t N)
 Square root value of x.
float exmat::Math::SSE::am_sqrt_2 (float x)
 Square root value of x.
float exmat::Math::SSE::am_rsqrt_0 (float x)
 1/sqrt(x)
__m128 exmat::Math::SSE::am_rsqrt_0 (__m128 x)
 1/sqrt(x)
void exmat::Math::SSE::am_rsqrt_0 (const float *in, float *out, size_t N)
 1/sqrt(x)
float exmat::Math::SSE::am_rsqrt_1 (float x)
 1/sqrt(x)
__m128 exmat::Math::SSE::am_rsqrt_1 (__m128 x)
 1/sqrt(x)
void exmat::Math::SSE::am_rsqrt_1 (const float *in, float *out, size_t N)
 1/sqrt(x)
float exmat::Math::SSE::am_rsqrt_2 (float x)
 1/sqrt(x)
float exmat::Math::SSE::am_sin (float x)
 Sine value of x (in radian).
__m128 exmat::Math::SSE::am_sin (__m128 x)
 Sine value of x (in radian).
void exmat::Math::SSE::am_sin (const float *in, float *out, size_t N)
 Sine value of x (in radian).
float exmat::Math::SSE::am_cos (float x)
 Cosine value of x (in radian).
__m128 exmat::Math::SSE::am_cos (__m128 x)
 Sine value of x (in radian).
void exmat::Math::SSE::am_cos (const float *in, float *out, size_t N)
 Sine value of x (in radian).
void exmat::Math::SSE::am_sincos (float x, float &s, float &c)
 Sine and Cosine value of x (in radian).
void exmat::Math::SSE::am_sincos (__m128 x, __m128 &s, __m128 &c)
 Sine value of x (in radian).
float exmat::Math::SSE::am_tan (float x)
 Tangent value of x (in radian).
__m128 exmat::Math::SSE::am_tan (__m128 x)
 Sine value of x (in radian).
void exmat::Math::SSE::am_tan (const float *in, float *out, size_t N)
 Sine value of x (in radian).
float exmat::Math::SSE::am_asin (float x)
 Arc sine value (in radian) of x.
__m128 exmat::Math::SSE::am_asin (__m128 x)
 Sine value of x (in radian).
void exmat::Math::SSE::am_asin (const float *in, float *out, size_t N)
 Sine value of x (in radian).
float exmat::Math::SSE::am_acos (float x)
 Arc cosine value (in radian) of x.
__m128 exmat::Math::SSE::am_acos (__m128 x)
 Sine value of x (in radian).
void exmat::Math::SSE::am_acos (const float *in, float *out, size_t N)
 Sine value of x (in radian).
float exmat::Math::SSE::am_atan (float x)
 Arc tangent value (in radian) of x.
__m128 exmat::Math::SSE::am_atan (__m128 x)
 Sine value of x (in radian).
void exmat::Math::SSE::am_atan (const float *in, float *out, size_t N)
 Sine value of x (in radian).

Functions

float exmat::Math::SSE::am_exp (float x)
 Exponential value of x.
float exmat::Math::SSE::am_log (float x)
 Logarithms value of x (base e).
float exmat::Math::SSE::am_pow (float x, float y)
 Calculate x raises to the power y.


Detailed Description

Approximated mathematical functions using SSE.

Author:
Ricky Lung Man Tat
Details for SIMD/SSE/AM_Math.h
Generated on Sat May 6 23:12:03 2006 for Exmat by  doxygen 1.4.6-NO