Go to the source code of this file.
|
#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) |
|
|
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)) |
|
#define V1FUN2_4 |
( |
|
FUN, |
|
|
|
V |
|
) |
| |
#define V1FUN2_8 |
( |
|
FUN, |
|
|
|
V |
|
) |
| |
Value:
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)
Definition at line 670 of file vectorize_math.h.
#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) |
#define V1FUN_16 |
( |
|
FUN, |
|
|
|
V |
|
) |
| |
Value:
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)
Definition at line 631 of file vectorize_math.h.
#define V1FUN_4 |
( |
|
FUN, |
|
|
|
V |
|
) |
| |
#define V1FUN_8 |
( |
|
FUN, |
|
|
|
V |
|
) |
| |
Value:
y[3] = FUN(x3); \
y[4] = FUN(x4); \
y[5] = FUN(x5); \
y[6] = FUN(x6); \
y[7] = FUN(x7)
Definition at line 621 of file vectorize_math.h.
#define V1FUN_PD_4 |
( |
|
FUN, |
|
|
|
V |
|
) |
| V1FUN_4(FUN, V) |
#define V1FUN_PD_8 |
( |
|
FUN, |
|
|
|
V |
|
) |
| V1FUN_8(FUN, V) |
#define V1FUN_PS_16 |
( |
|
FUN, |
|
|
|
V |
|
) |
| V1FUN_16(FUN##f, V) |
#define V1FUN_PS_4 |
( |
|
FUN, |
|
|
|
V |
|
) |
| V1FUN_4(FUN##f, V) |
#define V1FUN_PS_8 |
( |
|
FUN, |
|
|
|
V |
|
) |
| V1FUN_8(FUN##f, V) |
template<class T , class V >
void vecfun |
( |
const T |
x[], |
|
|
T |
y[], |
|
|
long |
nlo, |
|
|
long |
nhi, |
|
|
T(*)(T) |
scalfun1, |
|
|
V(*)(V) |
|
|
) |
| |
|
inline |
template<class T , class V >
void vecfun2 |
( |
const T |
x1[], |
|
|
const T |
x2[], |
|
|
T |
y[], |
|
|
long |
nlo, |
|
|
long |
nhi, |
|
|
T(*)(T, T) |
scalfun1, |
|
|
V(*)(V, V) |
|
|
) |
| |
|
inline |