public class CosFunction extends Object implements Function
Math.cos(double)| Constructor and Description |
|---|
CosFunction() |
| 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 cosine of the angle value at index location 0.
|
String |
toString() |
public double of(double[] d,
int numParam)
public boolean acceptNumParam(int numParam)
acceptNumParam in interface FunctionCopyright © 2015. All rights reserved.