com.graphbuilder.math.func.SignFunction Class Reference

The sign function. More...

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

List of all members.

Public Member Functions

 SignFunction ()
double of (double[] d, int numParam)
 The sign function returns 1 if the d[0] > 0, -1 if d[0] < 0, else 0.
boolean acceptNumParam (int numParam)
 Returns true only for 1 parameter, false otherwise.
String toString ()

Detailed Description

The sign function.

Definition at line 6 of file SignFunction.java.


Constructor & Destructor Documentation

com.graphbuilder.math.func.SignFunction.SignFunction (  ) 

Definition at line 8 of file SignFunction.java.


Member Function Documentation

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

Returns true only for 1 parameter, false otherwise.

Implements com.graphbuilder.math.func.Function.

Definition at line 22 of file SignFunction.java.

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

The sign function returns 1 if the d[0] > 0, -1 if d[0] < 0, else 0.

Implements com.graphbuilder.math.func.Function.

Definition at line 13 of file SignFunction.java.

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

Definition at line 26 of file SignFunction.java.


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1