com.graphbuilder.math.func.RoundFunction Class Reference

The round function. More...

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

List of all members.

Public Member Functions

 RoundFunction ()
double of (double[] d, int numParam)
 Returns the value at d[0] rounded to the nearest integer value.
boolean acceptNumParam (int numParam)
 Returns true only for 1 parameter, false otherwise.
String toString ()

Detailed Description

The round function.

See also:
java.lang.Math.round(double)

Definition at line 8 of file RoundFunction.java.


Constructor & Destructor Documentation

com.graphbuilder.math.func.RoundFunction.RoundFunction (  ) 

Definition at line 10 of file RoundFunction.java.


Member Function Documentation

boolean com.graphbuilder.math.func.RoundFunction.acceptNumParam ( int  numParam  ) 

Returns true only for 1 parameter, false otherwise.

Implements com.graphbuilder.math.func.Function.

Definition at line 27 of file RoundFunction.java.

double com.graphbuilder.math.func.RoundFunction.of ( double[]  d,
int  numParam 
)

Returns the value at d[0] rounded to the nearest integer value.

If the value exceeds the capabilities of long precision then the value itself is returned.

Implements com.graphbuilder.math.func.Function.

Definition at line 17 of file RoundFunction.java.

String com.graphbuilder.math.func.RoundFunction.toString (  ) 

Definition at line 31 of file RoundFunction.java.


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1