Power and Root Functions¶
Parent topic: VM Mathematical Functions
inv Performs element by element inversion of the vector.
div Performs element by element division of vector
a
by vectorb
sqrt Computes a square root of vector elements.
invsqrt Computes an inverse square root of vector elements.
cbrt Computes a cube root of vector elements.
invcbrt Computes an inverse cube root of vector elements.
pow2o3 Computes the cube root of the square of each vector element.
pow3o2 Computes the square root of the cube of each vector element.
pow Computes
a
to the powerb
for elements of two vectors.powx Computes vector
a
to the scalar powerb
.powr Computes
a
to the powerb
for elements of two vectors, where the elements of vector argumenta
are all non-negative.hypot Computes a square root of sum of two squared elements.