public class MultiplierFunction extends FunctionBase
Constructor and Description |
---|
MultiplierFunction() |
MultiplierFunction(double scale,
FunctionBase function) |
Modifier and Type | Method and Description |
---|---|
MultiplierFunction |
clone() |
double |
eval(VectorNd x)
Evaluates the function at the given input value
|
void |
evalDeriv(VectorNd df,
VectorNd x)
Evaluates the function derivative at the given input value
|
FunctionBase |
getBaseFunction() |
Diff1FunctionNx1 |
getFunction() |
double |
getScale() |
void |
setBaseFunction(FunctionBase f) |
void |
setScale(double scale) |
public MultiplierFunction()
public MultiplierFunction(double scale, FunctionBase function)
public double getScale()
public void setScale(double scale)
public FunctionBase getBaseFunction()
public void setBaseFunction(FunctionBase f)
public Diff1FunctionNx1 getFunction()
getFunction
in class FunctionBase
public double eval(VectorNd x)
FunctionBase
eval
in class FunctionBase
public void evalDeriv(VectorNd df, VectorNd x)
FunctionBase
evalDeriv
in class FunctionBase
public MultiplierFunction clone()
clone
in interface Clonable
clone
in class FunctionBase