|
JAutoDiff | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
R - Real numbers.X - Complex numbers which is (x + i y) where x, y in R.public interface ComplexNumber<R extends RealNumber<R>,X>
Let R denote a class implements RealNumber<R>. A class X implements the ComplexNumber<R, X> interface indicates that X is a complex number whose real and imaginary parts are of R.d
| Method Summary | |
|---|---|
X |
conjugate()
Returns an object of X whose value is the conjugate (this.re() - this.im()). |
R |
im()
Returns an object of R whose value is the imaginary part of this. |
R |
re()
Returns an object of R whose value is the real part of this. |
| Methods inherited from interface nilgiri.math.Field |
|---|
div, inverse |
| Methods inherited from interface nilgiri.math.Ring |
|---|
mul, pow |
| Methods inherited from interface nilgiri.math.Group |
|---|
minus, mul, negate, plus |
| Method Detail |
|---|
X conjugate()
R re()
R im()
|
JAutoDiff | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||