Package | Description |
---|---|
net.grelf |
This package contains general-purpose Java classes: non-astronomical and
not specific to GRIP.
|
Modifier and Type | Method and Description |
---|---|
Complex |
Complex.add(Complex z)
Adds z to this and also returns this, to be chainable.
|
Complex |
Complex.add(double x)
Adds real x to this and also returns this, to be chainable.
|
Complex |
Complex.assign(Complex z)
Sets this from z and also returns this, to be chainable.
|
Complex |
Complex.clone()
Returns a new Complex object with the same fields.
|
Complex |
Complex.conjugate()
Conjugates this and also returns this, to be chainable.
|
Complex |
Complex.divide(Complex z)
Divides this by z and returns this, to be chainable.
|
Complex |
Complex.divide(double x)
Divides this by real x and also returns this, to be chainable.
|
static Complex |
Complex.expi(Angle theta)
Get exp (i.theta) = cos (theta) + i.sin (theta).
|
static Complex |
Complex.expi(double theta)
Get exp (i.theta) = cos (theta) + i.sin (theta).
|
Complex |
Complex.multiply(Complex z)
Multiplies this by z and also returns this, to be chainable.
|
Complex |
Complex.multiply(double x)
Multiplies this by real x and also returns this, to be chainable.
|
Complex |
Complex.subtract(Complex z)
Subtracts z from this and also returns this, to be chainable.
|
Complex |
Complex.subtract(double x)
Subtracts real x from this and also returns this, to be chainable.
|
Modifier and Type | Method and Description |
---|---|
Complex |
Complex.add(Complex z)
Adds z to this and also returns this, to be chainable.
|
Complex |
Complex.assign(Complex z)
Sets this from z and also returns this, to be chainable.
|
Complex |
Complex.divide(Complex z)
Divides this by z and returns this, to be chainable.
|
Complex |
Complex.multiply(Complex z)
Multiplies this by z and also returns this, to be chainable.
|
Complex |
Complex.subtract(Complex z)
Subtracts z from this and also returns this, to be chainable.
|