Skip to main content

Module math

Module math 

Source
Expand description

Vector math functions (sin, cos, etc.).

§Mathematical functions for vectors

Implementation of mathematical functions (sin, cos, exp, ln, sqrt, etc.) for vector types.

Functions§

abs_slice
Element-wise absolute value of a slice
clamp_slice
Element-wise clamp of a slice
cos_slice
Element-wise cosine of a slice
exp_slice
Element-wise exponent of a slice
ln_slice
Element-wise natural logarithm of a slice
max_slice
Element-wise maximum of two slices
min_slice
Element-wise minimum of two slices
sin_slice
Element-wise sine of a slice
sqrt_slice
Element-wise square root of a slice
tan_slice
Element-wise tangent of a slice