Interface Scalar.Abs<AU extends AbsoluteLinearUnit<AU,​RU>,​A extends Scalar.Abs<AU,​A,​RU,​R>,​RU extends Unit<RU>,​R extends Scalar.RelWithAbs<AU,​A,​RU,​R>>

    • Method Detail

      • plus

        A plus​(R rel)
        Add a Relative value to this Absolute value. A new value is returned due to immutability.
        Parameters:
        rel - R; R the right operand
        Returns:
        A; the sum of this value and the operand
      • minus

        A minus​(R rel)
        Subtract a Relative value from this Absolute value. A new value is returned due to immutability.
        Parameters:
        rel - R; R the right operand
        Returns:
        A; the subtraction of this value and the operand
      • minus

        R minus​(A abs)
        Subtract an Absolute value from this Absolute value, resulting in a Relative value. A new value is returned due to immutability.
        Parameters:
        abs - A; A the right operand
        Returns:
        R; the subtraction of this value and the operand