Functions | |
| template<typename I> | |
| I | abs (I) |
| template<typename I> | |
| I | divide (I, I) |
| template<typename I> | |
| I | factorial (I) |
|
||||||||||
|
Synopsis: returns the absolute value of a Definition at line 27 of file intutils_def.h. Referenced by atlas::matrix::Matrix< C >::absMinPos(). |
|
||||||||||||||||
|
The result of divide(a,b) is the unique element q such that a = q.b + r, with 0 <= r < b. Here b is assumed to be > 0, the sign of a may be arbitrary. For instance, divide(-1,2) should be -1, so that -1 = -1.2 + 1. On my machine, -1/2 is 0 (which is the other value accepted by the C standard.) [Note that the correct symmetry to apply to |a|, one that maps classes with the same quotient to each other, is not Definition at line 48 of file intutils_def.h. Referenced by atlas::smithnormal::columnReduce(), atlas::matrix::columnReduce(), atlas::smithnormal::rowReduce(), and atlas::matrix::rowReduce(). |
|
||||||||||
|
Synopsis: returns the factorial of a. It is assumed that a >= 0; we do not worry about overflow. Definition at line 53 of file intutils_def.h. |
1.3.9.1