GmpBigIntegerFactory Class Reference
[Mathematical utilities]

Inheritance diagram for GmpBigIntegerFactory:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 makeNumber ($number, $base=10)
 
Returns:
GmpBigInteger

 makeFromBinary ($binary)
 
Returns:
GmpBigInteger

 makeRandom ($stop, RandomSource $source)
 
Returns:
GmpBigInteger


Static Public Member Functions

static me ()
 
Returns:
GmpBigIntegerFactory


Detailed Description

Definition at line 16 of file GmpBigIntegerFactory.class.php.


Member Function Documentation

static GmpBigIntegerFactory::me (  )  [static]

Returns:
GmpBigIntegerFactory

Definition at line 21 of file GmpBigIntegerFactory.class.php.

References Singleton::getInstance().

Referenced by GmpBigInteger::getFactory().

Here is the call graph for this function:

GmpBigIntegerFactory::makeNumber ( number,
base = 10 
)

Returns:
GmpBigInteger

Reimplemented from BigNumberFactory.

Definition at line 29 of file GmpBigIntegerFactory.class.php.

References GmpBigInteger::make().

Referenced by makeRandom().

Here is the call graph for this function:

GmpBigIntegerFactory::makeFromBinary ( binary  ) 

Returns:
GmpBigInteger

Reimplemented from BigNumberFactory.

Definition at line 37 of file GmpBigIntegerFactory.class.php.

References GmpBigInteger::makeFromBinary().

Referenced by makeRandom().

Here is the call graph for this function:

GmpBigIntegerFactory::makeRandom ( stop,
RandomSource source 
)

Returns:
GmpBigInteger

Reimplemented from BigNumberFactory.

Definition at line 45 of file GmpBigIntegerFactory.class.php.

References Assert::isTrue(), makeFromBinary(), and makeNumber().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:33 2007 for onPHP by  doxygen 1.5.4