Interface ValueFunctions<U extends Unit<U>,​T extends Value<U,​T>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T abs()
      Return a new Scalar/Vector/Matrix with absolute value(s).
      T ceil()
      Return a new Scalar/Vector/Matrix with the nearest integer value(s) above the current value(s).
      T floor()
      Return a new Scalar/Vector/Matrix with the nearest integer value(s) below the current value(s).
      T neg()
      Return a new Scalar/Vector/Matrix with negated value(s).
      T rint()
      Return a new Scalar/Vector/Matrix with the nearest integer value(s).
    • Method Detail

      • abs

        T abs()
        Return a new Scalar/Vector/Matrix with absolute value(s).
        Returns:
        R; a new R with absolute value(s)
      • ceil

        T ceil()
        Return a new Scalar/Vector/Matrix with the nearest integer value(s) above the current value(s).
        Returns:
        R; a new R with absolute value(s)
      • floor

        T floor()
        Return a new Scalar/Vector/Matrix with the nearest integer value(s) below the current value(s).
        Returns:
        R; a new R with absolute value(s)
      • neg

        T neg()
        Return a new Scalar/Vector/Matrix with negated value(s).
        Returns:
        R; a new R with negated value(s)
      • rint

        T rint()
        Return a new Scalar/Vector/Matrix with the nearest integer value(s). When the value is exactly in the middle between two integer values, the even one is returned.
        Returns:
        R; a new R with absolute value(s)