Rotate a 2D vector

math_r2dd
math_r2dr

1D interpolation

math_intrpd
math_intrpr

Random number generation

math_rnd_c