com.graphbuilder.math.func.Function Interface Reference

The Function interface represents a function that takes a number of inputs and returns a value. More...

Inheritance diagram for com.graphbuilder.math.func.Function:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double of (double[] param, int numParam)
 Takes the specified double array as input and returns a double value.
boolean acceptNumParam (int numParam)
 Returns true if the numParam is an accurate representation of the number of inputs the function processes.

Detailed Description

The Function interface represents a function that takes a number of inputs and returns a value.

The number of inputs expected depends on the function. For example, the PiFunction returns the value of Pi regardless of the input. The CosFunction uses the value at index location 0. The PowFunction uses the values at index locations 0 and 1. See the FuncMap class for more information.

See also:
com.graphbuilder.math.FuncMap

Definition at line 12 of file Function.java.


Member Function Documentation

boolean com.graphbuilder.math.func.Function.acceptNumParam ( int  numParam  ) 
double com.graphbuilder.math.func.Function.of ( double[]  param,
int  numParam 
)

The documentation for this interface was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1