Skip to main content
The Vector library provides common operations for vectors.
  • Add
    Addition of two vectors, element-wise.
  • CrossProd
    Cross product of two vectors of size 3.
  • Div
    Division of two vectors, element-wise.
  • DotProd
    Dot product (or scalar product) of two vectors.
  • Incr
    Addition of a scalar to all elements of a vector.
  • Mult
    Multiplication of two vectors, element-wise.
  • Norm
    Euclidean norm of a vector.
  • NormVector
    Normalization of a vector.
  • Scale
    Multiplication of all elements of a vector by a scalar.
  • Sub
    Subtraction of two vectors, element-wise.
  • TensorProd
    Tensor product (or outer product) of two vectors.
Parent topic:Libraries