Interface HasPow<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ToDouble<T> pow​(double power)
      Creates and returns an expression that returns the exponential power of the result from the current expression.
      ToDouble<T> pow​(int power)
      Creates and returns an expression that returns the exponential power of the result from the current expression.
      ToDouble<T> pow​(ToDouble<T> power)
      Creates and returns an expression that returns the exponential power of the result from the current expression.
      ToDouble<T> pow​(ToInt<T> power)
      Creates and returns an expression that returns the exponential power of the result from the current expression.
    • Method Detail

      • pow

        ToDouble<T> pow​(int power)
        Creates and returns an expression that returns the exponential power of the result from the current expression. For an example, if the result of the current expression was -3 and the power was set to 2, then the result of the returned expression would be 9.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        power - the power to use as the exponent
        Returns:
        the new expression
      • pow

        ToDouble<T> pow​(double power)
        Creates and returns an expression that returns the exponential power of the result from the current expression. For an example, if the result of the current expression was -3 and the power was set to 2, then the result of the returned expression would be 9.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        power - the power to use as the exponent
        Returns:
        the new expression
      • pow

        ToDouble<T> pow​(ToInt<T> power)
        Creates and returns an expression that returns the exponential power of the result from the current expression. For an example, if the result of the current expression was -3 and the power was set to 2, then the result of the returned expression would be 9.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        power - the power to use as the exponent
        Returns:
        the new expression
      • pow

        ToDouble<T> pow​(ToDouble<T> power)
        Creates and returns an expression that returns the exponential power of the result from the current expression. For an example, if the result of the current expression was -3 and the power was set to 2, then the result of the returned expression would be 9.

        If this expression is nullable and the result was null, then the result of the returned expression will also be null.

        Parameters:
        power - the power to use as the exponent
        Returns:
        the new expression