cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
vectorize_math.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define V1FUN_4(FUN, V)
 
#define V1FUN_8(FUN, V)
 
#define V1FUN_16(FUN, V)
 
#define V1FUN_PD_4(FUN, V)   V1FUN_4(FUN, V)
 
#define V1FUN_PD_8(FUN, V)   V1FUN_8(FUN, V)
 
#define V1FUN_PS_4(FUN, V)   V1FUN_4(FUN##f, V)
 
#define V1FUN_PS_8(FUN, V)   V1FUN_8(FUN##f, V)
 
#define V1FUN_PS_16(FUN, V)   V1FUN_16(FUN##f, V)
 
#define V1FUN2_4(FUN, V)
 
#define V1FUN2_8(FUN, V)
 
#define V1FUN2_PD_4(FUN, V)   V1FUN2_4(FUN, V)
 
#define V1FUN2_PS_4(FUN, V)   V1FUN2_4(FUN##f, V)
 
#define V1FUN2_PS_8(FUN, V)   V1FUN2_8(FUN##f, V)
 

Functions

template<class T , class V >
void vecfun (const T x[], T y[], long nlo, long nhi, T(*scalfun1)(T), V(*)(V))
 
template<class T , class V >
void vecfun2 (const T x1[], const T x2[], T y[], long nlo, long nhi, T(*scalfun1)(T, T), V(*)(V, V))
 

Macro Definition Documentation

#define V1FUN2_4 (   FUN,
 
)
Value:
z[0] = FUN(x0, y0); \
z[1] = FUN(x1, y1); \
z[2] = FUN(x2, y2); \
z[3] = FUN(x3, y3)
static double x2[63]
static double x1[83]
static double x0[83]

Definition at line 664 of file vectorize_math.h.

#define V1FUN2_8 (   FUN,
 
)
Value:
z[0] = FUN(x0, y0); \
z[1] = FUN(x1, y1); \
z[2] = FUN(x2, y2); \
z[3] = FUN(x3, y3); \
z[4] = FUN(x4, y4); \
z[5] = FUN(x5, y5); \
z[6] = FUN(x6, y6); \
z[7] = FUN(x7, y7)
static double x2[63]
static double x1[83]
static double x0[83]

Definition at line 670 of file vectorize_math.h.

#define V1FUN2_PD_4 (   FUN,
 
)    V1FUN2_4(FUN, V)

Definition at line 680 of file vectorize_math.h.

Referenced by vhypot().

#define V1FUN2_PS_4 (   FUN,
 
)    V1FUN2_4(FUN##f, V)

Definition at line 683 of file vectorize_math.h.

Referenced by vhypot().

#define V1FUN2_PS_8 (   FUN,
 
)    V1FUN2_8(FUN##f, V)

Definition at line 686 of file vectorize_math.h.

Referenced by vhypot().

#define V1FUN_16 (   FUN,
 
)
Value:
y[0] = FUN(x0); \
y[1] = FUN(x1); \
y[2] = FUN(x2); \
y[3] = FUN(x3); \
y[4] = FUN(x4); \
y[5] = FUN(x5); \
y[6] = FUN(x6); \
y[7] = FUN(x7); \
y[8] = FUN(x8); \
y[9] = FUN(x9); \
y[10] = FUN(x10); \
y[11] = FUN(x11); \
y[12] = FUN(x12); \
y[13] = FUN(x13); \
y[14] = FUN(x14); \
y[15] = FUN(x15)
static double x2[63]
static double x1[83]
static double x0[83]

Definition at line 631 of file vectorize_math.h.

#define V1FUN_4 (   FUN,
 
)
Value:
y[0] = FUN(x0); \
y[1] = FUN(x1); \
y[2] = FUN(x2); \
y[3] = FUN(x3)
static double x2[63]
static double x1[83]
static double x0[83]

Definition at line 615 of file vectorize_math.h.

#define V1FUN_8 (   FUN,
 
)
Value:
y[0] = FUN(x0); \
y[1] = FUN(x1); \
y[2] = FUN(x2); \
y[3] = FUN(x3); \
y[4] = FUN(x4); \
y[5] = FUN(x5); \
y[6] = FUN(x6); \
y[7] = FUN(x7)
static double x2[63]
static double x1[83]
static double x0[83]

Definition at line 621 of file vectorize_math.h.

#define V1FUN_PD_4 (   FUN,
 
)    V1FUN_4(FUN, V)

Definition at line 649 of file vectorize_math.h.

Referenced by vasinh(), vexp(), vexp10(), vexpm1(), vfast_asinh(), vlog(), vlog10(), vlog1p(), and vsqrt().

#define V1FUN_PD_8 (   FUN,
 
)    V1FUN_8(FUN, V)

Definition at line 652 of file vectorize_math.h.

Referenced by vasinh(), vexp(), vexp10(), vexpm1(), vfast_asinh(), vlog(), vlog10(), vlog1p(), and vsqrt().

#define V1FUN_PS_16 (   FUN,
 
)    V1FUN_16(FUN##f, V)

Definition at line 661 of file vectorize_math.h.

Referenced by vasinh(), vexp(), vexp10(), vexpm1(), vfast_asinh(), vlog(), vlog10(), vlog1p(), and vsqrt().

#define V1FUN_PS_4 (   FUN,
 
)    V1FUN_4(FUN##f, V)

Definition at line 655 of file vectorize_math.h.

Referenced by vasinh(), vexp(), vexp10(), vexpm1(), vfast_asinh(), vlog(), vlog10(), vlog1p(), and vsqrt().

#define V1FUN_PS_8 (   FUN,
 
)    V1FUN_8(FUN##f, V)

Definition at line 658 of file vectorize_math.h.

Referenced by vasinh(), vexp(), vexp10(), vexpm1(), vfast_asinh(), vlog(), vlog10(), vlog1p(), and vsqrt().

Function Documentation

template<class T , class V >
void vecfun ( const T  x[],
y[],
long  nlo,
long  nhi,
T(*)(T)  scalfun1,
V(*)(V)   
)
inline

Definition at line 602 of file vectorize_math.h.

Referenced by vasinh(), vexp(), vexp10(), vexpm1(), vfast_asinh(), vlog(), vlog10(), vlog1p(), and vsqrt().

template<class T , class V >
void vecfun2 ( const T  x1[],
const T  x2[],
y[],
long  nlo,
long  nhi,
T(*)(T, T)  scalfun1,
V(*)(V, V)   
)
inline

Definition at line 609 of file vectorize_math.h.

Referenced by vhypot().