procedure cirrange
Reduce a number to the range [0,360[ or [0,pi[.
Syntax
cirrange VAR [, /deg, /rad]
Arguments
VAR: | A named variable whose value should be reduced. This can be a real number or a vector/matrix. |
Switches
/deg: | Reduce to [0,360[ (default) |
/rad: | Reduce to [0,pi[ |