com.graphbuilder.math.func.CombinFunction Class Reference

The combination function. More...

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

List of all members.

Public Member Functions

 CombinFunction ()
double of (double[] d, int numParam)
 Returns the number of ways r items can be chosen from n items.
boolean acceptNumParam (int numParam)
 Returns true only for 2 parameters, false otherwise.
String toString ()

Detailed Description

The combination function.

See also:
com.graphbuilder.math.PascalsTriangle

Definition at line 10 of file CombinFunction.java.


Constructor & Destructor Documentation

com.graphbuilder.math.func.CombinFunction.CombinFunction (  ) 

Definition at line 12 of file CombinFunction.java.


Member Function Documentation

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

Returns true only for 2 parameters, false otherwise.

Implements com.graphbuilder.math.func.Function.

Definition at line 27 of file CombinFunction.java.

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

Returns the number of ways r items can be chosen from n items.

The value of n is (int) d[0] and the value of r is (int) d[1].

Implements com.graphbuilder.math.func.Function.

Definition at line 18 of file CombinFunction.java.

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

Definition at line 31 of file CombinFunction.java.


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1