Go to the source code of this file.
|
| void | ucopy (float &a, const ushort &b) |
| |
| void | ucopy (ushort &a, const float &b) |
| |
| void | old_load_half (float spinor[24], short *in, float *norm, int idx) |
| |
| void | old_save_half (float spinor[24], short *out, float *norm, int idx) |
| |
| void | new_load_half (float spinor[24], short *in, float *norm, int idx) |
| |
| void | new_save_half (float spinor[24], short *out, float *norm, int idx) |
| |
| void | oldCopyToHalf (short *out, float *norm, float *in, int N) |
| |
| void | oldCopyToFloat (float *out, short *in, float *norm, int N) |
| |
| void | newCopyToHalf (short *out, float *norm, float *in, int N) |
| |
| void | newCopyToFloat (float *out, short *in, float *norm, int N) |
| |
| void | insertNoise (float *field, int N, float power) |
| |
| double | l2 (float *a, float *b, int N) |
| |
| int | main () |
| |
| #define MAX_USHORT 65535.0f |
| void insertNoise |
( |
float * |
field, |
|
|
int |
N, |
|
|
float |
power |
|
) |
| |
| double l2 |
( |
float * |
a, |
|
|
float * |
b, |
|
|
int |
N |
|
) |
| |
| void new_load_half |
( |
float |
spinor[24], |
|
|
short * |
in, |
|
|
float * |
norm, |
|
|
int |
idx |
|
) |
| |
| void new_save_half |
( |
float |
spinor[24], |
|
|
short * |
out, |
|
|
float * |
norm, |
|
|
int |
idx |
|
) |
| |
| void newCopyToFloat |
( |
float * |
out, |
|
|
short * |
in, |
|
|
float * |
norm, |
|
|
int |
N |
|
) |
| |
| void newCopyToHalf |
( |
short * |
out, |
|
|
float * |
norm, |
|
|
float * |
in, |
|
|
int |
N |
|
) |
| |
| void old_load_half |
( |
float |
spinor[24], |
|
|
short * |
in, |
|
|
float * |
norm, |
|
|
int |
idx |
|
) |
| |
| void old_save_half |
( |
float |
spinor[24], |
|
|
short * |
out, |
|
|
float * |
norm, |
|
|
int |
idx |
|
) |
| |
| void oldCopyToFloat |
( |
float * |
out, |
|
|
short * |
in, |
|
|
float * |
norm, |
|
|
int |
N |
|
) |
| |
| void oldCopyToHalf |
( |
short * |
out, |
|
|
float * |
norm, |
|
|
float * |
in, |
|
|
int |
N |
|
) |
| |
| void ucopy |
( |
float & |
a, |
|
|
const ushort & |
b |
|
) |
| |
|
inline |
| void ucopy |
( |
ushort & |
a, |
|
|
const float & |
b |
|
) |
| |
|
inline |