Constructor and Description |
---|
TanhFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptNumParam(int numParam)
Returns true only for 1 parameter, false otherwise.
|
double |
of(double[] d,
int numParam)
Returns the value of (ex - e-x)/(ex + e-x),
where x is the value at index location 0 and e is the base of natural logarithms.
|
String |
toString() |
public double of(double[] d, int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam
in interface Function
Copyright © 2024. All rights reserved.