Module moonlander_gp::num
[−]
[src]
Numeric helper functions
Functions
partial_max |
A max() function that only requires a partial ordering. |
partial_min |
A min() function that only requires a partial ordering. |
square |
Square a number |
sum |
A sum() function to use on an iterator, because Iterator.sum() is unstable. |
torus |
Crop a value to an N-sized torus |
Type Definitions
Number |
The general number type used by all simulations |