Package samer.maths
Class Identity
- java.lang.Object
-
- samer.maths.Function
-
- samer.maths.Identity
-
public class Identity extends Function
-
-
Constructor Summary
Constructors Constructor and Description Identity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
apply(double t)
void
apply(double[] u)
apply function in place, to each element of inoutvoid
apply(double[] u, double[] y)
apply function to each element of in, placing result in outFunction
derivative()
java.lang.String
format(java.lang.String arg)
Function
inverse()
-
-
-
Method Detail
-
apply
public void apply(double[] u, double[] y)
Description copied from class:Function
apply function to each element of in, placing result in out
-
apply
public void apply(double[] u)
Description copied from class:Function
apply function in place, to each element of inout
-
derivative
public Function derivative()
- Overrides:
derivative
in classFunction
-
-