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 668 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 674 of file vectorize_math.h.

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

Definition at line 684 of file vectorize_math.h.

Referenced by vhypot().

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

Definition at line 687 of file vectorize_math.h.

Referenced by vhypot().

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

Definition at line 690 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 635 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 619 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 625 of file vectorize_math.h.

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

Definition at line 653 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 656 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 665 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 659 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 662 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 606 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 613 of file vectorize_math.h.

Referenced by vhypot().