Package samer.functions
Class ScaledFunction
- java.lang.Object
-
- samer.maths.Function
-
- samer.functions.ScaledFunction
-
- Direct Known Subclasses:
- LogisiticInfomax
public class ScaledFunction extends Function
-
-
Constructor Summary
Constructors Constructor and Description ScaledFunction(Function f, double k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
apply(double t)
void
apply(double[] x)
apply function in place, to each element of inoutvoid
apply(double[] x, double[] y)
apply function to each element of in, placing result in outFunction
derivative()
void
dispose()
java.lang.String
format(java.lang.String arg)
double
get()
Function
inverse()
void
set(double kk)
-
-
-
Constructor Detail
-
ScaledFunction
public ScaledFunction(Function f, double k)
-
-
Method Detail
-
get
public double get()
-
set
public void set(double kk)
-
apply
public void apply(double[] x)
Description copied from class:Function
apply function in place, to each element of inout
-
apply
public void apply(double[] x, double[] y)
Description copied from class:Function
apply function to each element of in, placing result in out
-
derivative
public Function derivative()
- Overrides:
derivative
in classFunction
-
-