FieldMath Namespace Reference
Routines for computing with T[length] number fields.
More...
|
Functions |
|
template<class I1 , class I2 , class Transf > |
| Transf | transform2 (I1 i1, I1 iEnd1, I2 i2, Transf transformer) |
| | Calls transformer(x,y) for every x from [i1;iEnd1) and corresponding y from [i2;?).
|
|
template<class I1 , class I2 , class I3 , class Transf > |
| Transf | transform3 (I1 i1, I1 iEnd1, I2 i2, I3 i3, Transf transformer) |
| | Analogous to transform2.
|
|
template<class T > |
| T * | assign (const T *a, int length, T *b) |
| | Means b[i]=a[i]; Only meant for POD types.
|
|
template<class T , bool CheckNaNs> |
| T | moveToBounds_copy (const T *point, const T(*bounds)[2], int length, T *result) |
| | Copy_moves a vector (point) to the nearest point (result) within bounds (bounds) and returns SE (distance^2).
|
Detailed Description
Routines for computing with T[length] number fields.