Function
, FunctionDifferentiable
, FunctionInvertible
, IFunction
, java.io.Serializable
public static class Function.Linear extends java.lang.Object implements FunctionInvertible, FunctionDifferentiable, java.io.Serializable
Function.Abs, Function.Chop, Function.Constant, Function.Exp, Function.Identity, Function.Linear, Function.Log, Function.Reciprocal, Function.Sqrt
Constructor | Description |
---|---|
Linear(double slope,
double intercept) |
Modifier and Type | Method | Description |
---|---|---|
double |
df(int n,
double x) |
|
double |
f(double x) |
|
double |
inverse(double f) |
public double inverse(double f)
inverse
in interface FunctionInvertible
public double df(int n, double x)
df
in interface FunctionDifferentiable