Packages

object Round

The Round object provides methods to round double vectors and matrices into integer vectors and matrices.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Round
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def roundMat(x: MatriD): MatriI

    Round a double matrix into an integer matrix.

    Round a double matrix into an integer matrix.

    x

    the double matrix to round

  2. def roundScaledMat(x: MatriD, s: Double): MatriI

    Round a scaled double matrix into an integer matrix.

    Round a scaled double matrix into an integer matrix.

    x

    the double matrix to round

    s

    the scale factor

  3. def roundScaledVec(y: VectoD, s: Double): VectoI

    Round a scaled double vector into an integer vector.

    Round a scaled double vector into an integer vector.

    s

    the scale factor

  4. def roundVec(y: VectoD): VectoI

    Round a double vector into an integer vector.