Constructor and Description |
---|
FactFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptNumParam(int numParam)
Returns true only for 1 parameter, false otherwise.
|
double |
of(double[] d,
int numParam)
Takes the (int) of the value at index location 0 and computes the factorial
of that number.
|
String |
toString() |
public double of(double[] d, int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam
in interface Function
Copyright © 2024. All rights reserved.