Function round

  • Applies Math.round to each element of vector

    Type Parameters

    Parameters

    • v: BaseArgType

      Operand vector.

    • Optional dst: T

      vector to hold result. If not passed in a new one is created.

    Returns T

    A vector that is the round of each element of v.