Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

math

Built-in functions

abs

Absolute value abs(x)

sqrt

Calculate the square root sqrt(x).

int

Cast some Quantity into an Integer.

cos

Calculate cos(x).

sin

Calculate sin(x).

tan

Calculate tan(x).

acos

Calculate acos(x).

asin

Calculate asin(x).

atan

Calculate atan(x).

rotate_around_axis

rotate_xyz

Rotate around X, Y, Z (in that order).

rotate_zyx

Rotate around Z, Y, X (in that order).