|
JAutoDiff | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnilgiri.math.DoubleComplexFactory
public class DoubleComplexFactory
A singleton factory for creating the zero element and unity of DoubleComplex.
| Method Summary | |
|---|---|
DoubleComplex |
create(double i_re,
double i_im)
Returns an object of DoubleComplex whose value is i_v. |
static DoubleComplexFactory |
instance()
Returns the singleton object of this class. |
DoubleComplex |
one()
Returns the unity (multiplicative identity) of X. |
DoubleComplex |
zero()
Returns the zero element (additive identity) of X. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DoubleComplexFactory instance()
public DoubleComplex create(double i_re,
double i_im)
i_re - i_im -
public DoubleComplex zero()
AbstractFieldFactory
zero in interface AbstractFieldFactory<DoubleComplex>public DoubleComplex one()
AbstractFieldFactory
one in interface AbstractFieldFactory<DoubleComplex>
|
JAutoDiff | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||