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

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T divide​(double divisor)
      Returns a new scalar/vector/matrix with value(s) divided by a factor.
      T divide​(float divisor)
      Returns a new scalar/vector/matrix with value(s) divided by a factor.
      T times​(double multiplier)
      Returns a new scalar/vector/matrix with value(s) multiplied by a factor.
      T times​(float multiplier)
      Returns a new scalar/vector/matrix with value(s) multiplied by a factor.
    • Method Detail

      • times

        T times​(double multiplier)
        Returns a new scalar/vector/matrix with value(s) multiplied by a factor.
        Parameters:
        multiplier - double; the multiplier
        Returns:
        T; a new scalar/vector/matrix
      • divide

        T divide​(double divisor)
        Returns a new scalar/vector/matrix with value(s) divided by a factor.
        Parameters:
        divisor - double; the divisor
        Returns:
        T; the modified T
      • times

        T times​(float multiplier)
        Returns a new scalar/vector/matrix with value(s) multiplied by a factor.
        Parameters:
        multiplier - float; the multiplier
        Returns:
        T; a new scalar/vector/matrix
      • divide

        T divide​(float divisor)
        Returns a new scalar/vector/matrix with value(s) divided by a factor.
        Parameters:
        divisor - float; the divisor
        Returns:
        T; the modified T