Package samer.maths
Class Function
- java.lang.Object
-
- samer.maths.Function
-
- Direct Known Subclasses:
- Abs, Add, Atanh, BiLaplacian, BiLaplacianBlend, CauchyInfomax, CompoundFunction, Constant, Exp, ExponentialSquashing, HalfSquare, Hamming, Hanning, HybridFunction, Identity, Linear, Log, LogAbs, LogCauchy, LogCosh, LogGenCosh, LogGenExp, LogGenExp2, Neg, Negate, Power, Quadratic, RaleighLogPrior, Reciprocal, Scale, ScaledFunction, Sgn, SilkFunction, SparseExponential, Sqrt, Square, Step, Tanh, ThresholdLog, Zero
public abstract class Function extends java.lang.Object
Defines a real-valued function of a single real variable.
-
-
Constructor Summary
Constructors Constructor and Description Function()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract double
apply(double in)
void
apply(double[] inout)
apply function in place, to each element of inoutvoid
apply(double[] in, double[] out)
apply function to each element of in, placing result in outFunction
derivative()
void
dispose()
abstract java.lang.String
format(java.lang.String arg)
Function
inverse()
-
-
-
Method Detail
-
apply
public abstract double apply(double in)
-
apply
public void apply(double[] in, double[] out)
apply function to each element of in, placing result in out
-
apply
public void apply(double[] inout)
apply function in place, to each element of inout
-
dispose
public void dispose()
-
inverse
public Function inverse()
-
derivative
public Function derivative()
-
format
public abstract java.lang.String format(java.lang.String arg)
-
-