Power and Root Functions

  • inv Performs element by element inversion of the vector.

  • div Performs element by element division of vector a by vector b

  • 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 power b for elements of two vectors.

  • powx Computes vector a to the scalar power b.

  • powr Computes a to the power b for elements of two vectors, where the elements of vector argument a are all non-negative.

  • hypot Computes a square root of sum of two squared elements.