|
JAutoDiff | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnilgiri.math.DoubleComplex
public class DoubleComplex
Constructor Summary | |
---|---|
DoubleComplex()
|
|
DoubleComplex(DoubleComplex i_cd)
|
|
DoubleComplex(double i_re,
double i_im)
|
Method Summary | |
---|---|
double |
absolute_square()
|
void |
assign(DoubleComplex i_cd)
|
DoubleComplex |
clone()
|
DoubleComplex |
conjugate()
Returns an object of X whose value is the conjugate (this.re() - this.im()). |
DoubleComplex |
div(DoubleComplex i_cd)
Returns an object of X whose value is (this / i_v). |
DoubleComplex |
divide(double i_cd)
|
double |
im_double()
|
DoubleReal |
im()
Returns an object of R whose value is the imaginary part of this. |
DoubleComplex |
inverse()
Returns an object of X whose value is (1 / this). |
DoubleComplex |
minus(double i_cd)
|
DoubleComplex |
minus(DoubleComplex i_cd)
Returns an object of X whose value is (this - i_v). |
double |
modulus()
|
DoubleComplex |
mul(DoubleComplex i_cd)
Returns an object of X whose value is the product (this * i_v). |
DoubleComplex |
mul(long i_n)
Returns an object of X whose value is the summation (sum_{1}^{i_n}(this)). |
DoubleComplex |
negate()
Returns an object of X whose value is (- this). |
DoubleComplex |
plus(double i_cd)
|
DoubleComplex |
plus(DoubleComplex i_cd)
Returns an object of X whose value is (this + i_v). |
DoubleComplex |
pow(int i_n)
Returns an object of X whose value is the power (this ^ i_n). |
DoubleComplex |
prod(double i_cd)
|
double |
re_double()
|
DoubleReal |
re()
Returns an object of R whose value is the real part of this. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DoubleComplex()
public DoubleComplex(double i_re, double i_im)
public DoubleComplex(DoubleComplex i_cd)
Method Detail |
---|
public void assign(DoubleComplex i_cd)
public DoubleReal re()
ComplexNumber
re
in interface ComplexNumber<DoubleReal,DoubleComplex>
public DoubleReal im()
ComplexNumber
im
in interface ComplexNumber<DoubleReal,DoubleComplex>
public double re_double()
public double im_double()
public double modulus()
public double absolute_square()
public java.lang.String toString()
toString
in class java.lang.Object
public DoubleComplex clone()
clone
in class java.lang.Object
public DoubleComplex conjugate()
ComplexNumber
conjugate
in interface ComplexNumber<DoubleReal,DoubleComplex>
public DoubleComplex inverse()
Field
inverse
in interface Field<DoubleComplex>
public DoubleComplex negate()
Group
negate
in interface Group<DoubleComplex>
public DoubleComplex plus(DoubleComplex i_cd)
Group
plus
in interface Group<DoubleComplex>
public DoubleComplex minus(DoubleComplex i_cd)
Group
minus
in interface Group<DoubleComplex>
public DoubleComplex mul(DoubleComplex i_cd)
Ring
mul
in interface Ring<DoubleComplex>
public DoubleComplex div(DoubleComplex i_cd)
Field
div
in interface Field<DoubleComplex>
public DoubleComplex plus(double i_cd)
public DoubleComplex minus(double i_cd)
public DoubleComplex prod(double i_cd)
public DoubleComplex divide(double i_cd)
public DoubleComplex pow(int i_n)
Ring
pow
in interface Ring<DoubleComplex>
i_n
- a natural number
public DoubleComplex mul(long i_n)
Group
mul
in interface Group<DoubleComplex>
i_n
- a natural number
|
JAutoDiff | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |