- array abs(array x)
- iarray sign(array x)
- array exp(array x)
- array log(array x)
- array<int> ProbRound(array<double> x)
Round up or down with probability given by the difference between
real value and the integers either side. For instance, if the
argument's value is 0.2, then it has an 80% chance of being
rounded down to 0, and a 20% chance of being rounded up to 1.
Uses array_urand.