Interface FXY


public interface FXY
Represents a function f(x,y).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FXY
    The function f(x,y) = 1
    static final FXY
    The function f(x,y) = x
    static final FXY
    The function f(x,y) = x 2
    static final FXY
    The function f(x,y) = x 2 y
    static final FXY
    The function f(x,y) = x 2 y 2
    static final FXY
    The function f(x,y) = x 2 y 3
    static final FXY
    The function f(x,y) = x 2 y 4
    static final FXY
    The function f(x,y) = x 3
    static final FXY
    The function f(x,y) = x 3 y
    static final FXY
    The function f(x,y) = x 3 y 2
    static final FXY
    The function f(x,y) = x 3 y 3
    static final FXY
    The function f(x,y) = x 3 y 4
    static final FXY
    The function f(x,y) = x 4
    static final FXY
    The function f(x,y) = x 4 y
    static final FXY
    The function f(x,y) = x 4 y 2
    static final FXY
    The function f(x,y) = x 4 y 3
    static final FXY
    The function f(x,y) = x 4 y 4
    static final FXY
    The function f(x,y) = x y
    static final FXY
    The function f(x,y) = x y 2
    static final FXY
    The function f(x,y) = x y 3
    static final FXY
    The function f(x,y) = x y 4
    static final FXY
    The function f(x,y) = y
    static final FXY
    The function f(x,y) = y 2
    static final FXY
    The function f(x,y) = y 3
    static final FXY
    The function f(x,y) = y 4
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    f(double x, double y)
    The function z = f(x,y)
    Returns the function as C code expression, e.g.
  • Field Details

    • X4Y4

      static final FXY X4Y4
      The function f(x,y) = x 4 y 4
    • X4Y3

      static final FXY X4Y3
      The function f(x,y) = x 4 y 3
    • X3Y4

      static final FXY X3Y4
      The function f(x,y) = x 3 y 4
    • X4Y2

      static final FXY X4Y2
      The function f(x,y) = x 4 y 2
    • X2Y4

      static final FXY X2Y4
      The function f(x,y) = x 2 y 4
    • X4Y

      static final FXY X4Y
      The function f(x,y) = x 4 y
    • XY4

      static final FXY XY4
      The function f(x,y) = x y 4
    • X4

      static final FXY X4
      The function f(x,y) = x 4
    • Y4

      static final FXY Y4
      The function f(x,y) = y 4
    • X3Y3

      static final FXY X3Y3
      The function f(x,y) = x 3 y 3
    • X3Y2

      static final FXY X3Y2
      The function f(x,y) = x 3 y 2
    • X2Y3

      static final FXY X2Y3
      The function f(x,y) = x 2 y 3
    • X3Y

      static final FXY X3Y
      The function f(x,y) = x 3 y
    • X2Y2

      static final FXY X2Y2
      The function f(x,y) = x 2 y 2
    • XY3

      static final FXY XY3
      The function f(x,y) = x y 3
    • X3

      static final FXY X3
      The function f(x,y) = x 3
    • X2Y

      static final FXY X2Y
      The function f(x,y) = x 2 y
    • XY2

      static final FXY XY2
      The function f(x,y) = x y 2
    • Y3

      static final FXY Y3
      The function f(x,y) = y 3
    • X2

      static final FXY X2
      The function f(x,y) = x 2
    • XY

      static final FXY XY
      The function f(x,y) = x y
    • Y2

      static final FXY Y2
      The function f(x,y) = y 2
    • X

      static final FXY X
      The function f(x,y) = x
    • Y

      static final FXY Y
      The function f(x,y) = y
    • ONE

      static final FXY ONE
      The function f(x,y) = 1
  • Method Details

    • f

      double f(double x, double y)
      The function z = f(x,y)
      Parameters:
      x - the x parameter
      y - the y parameter
      Returns:
      z
    • getCCodeExpr

      String getCCodeExpr()
      Returns the function as C code expression, e.g. "pow(x, 3) * y"
      Returns:
      the C code