Fixed Point Arithmetic
0
Fixed-point math library.
|
Macros | |
#define | MAKE_VEC_VEC_F3(name, typeR, typeA, typeB, f) |
Macro to create functions with element by element operations between vectors. More... | |
#define | MAKE_VEC_VEC_F(name, type, f) MAKE_VEC_VEC_F3(name, type, type, type, f) |
Macro to create functions with element by element operations between vectors. More... | |
#define | MAKE_VEC_SCALAR_F2(name, typeR, typeA, typeB, f) |
Macro to create functions with function-operations between vectors and scalars. More... | |
#define | MAKE_VEC_SCALAR_F(name, typeA, typeB, f) MAKE_VEC_SCALAR_F2(name, typeA, typeA, typeB, f) |
Macro to create functions with function-operations between vectors and scalars. More... | |
#define | MAKE_VEC_ELEM_F(name, typeR, typeA, f) |
Macro to make a function that applies a scalar function to all elements of a vector. More... | |
#define MAKE_VEC_ELEM_F | ( | name, | |
typeR, | |||
typeA, | |||
f | |||
) |
Macro to make a function that applies a scalar function to all elements of a vector.
name | Name of the function. |
typeR | Return type. |
typeA | Type of argument. |
f | Name of the function that will be applied. |
#define MAKE_VEC_SCALAR_F | ( | name, | |
typeA, | |||
typeB, | |||
f | |||
) | MAKE_VEC_SCALAR_F2(name, typeA, typeA, typeB, f) |
#define MAKE_VEC_SCALAR_F2 | ( | name, | |
typeR, | |||
typeA, | |||
typeB, | |||
f | |||
) |
Macro to create functions with function-operations between vectors and scalars.
name | Name of the function. |
typeR | Return type. |
typeA | Type of first argument. |
typeB | Type of second argument. |
f | Name of the function that will be applied. |
#define MAKE_VEC_VEC_F | ( | name, | |
type, | |||
f | |||
) | MAKE_VEC_VEC_F3(name, type, type, type, f) |
#define MAKE_VEC_VEC_F3 | ( | name, | |
typeR, | |||
typeA, | |||
typeB, | |||
f | |||
) |
Macro to create functions with element by element operations between vectors.
name | Name of the function to be defined. |
typeR | Type of return value. |
typeA | Type of first argument. |
typeB | Type of second argument. |
f | Name of the function to be applied. |