Modifier and Type | Field and Description |
---|---|
static Complex |
Complex.I
A complex number representing \( i \), the square root of \( -1 \).
|
static Complex |
Complex.ONE
A complex number representing one.
|
static Complex |
Complex.ZERO
A complex number representing zero.
|
Modifier and Type | Method and Description |
---|---|
Complex |
Complex.acos()
Returns the
inverse cosine of this complex number.
|
Complex |
Complex.acosh()
Returns the
inverse hyperbolic cosine of this complex number.
|
Complex |
Complex.add(Complex addend)
Returns a
Complex whose value is (this + addend) . |
Complex |
Complex.add(double addend)
Returns a
Complex whose value is (this + addend) ,
with addend interpreted as a real number. |
Complex |
Complex.addImaginary(double addend)
Returns a
Complex whose value is (this + addend) ,
with addend interpreted as an imaginary number. |
Complex |
Complex.asin()
Returns the
inverse sine of this complex number.
|
Complex |
Complex.asinh()
Returns the
inverse hyperbolic sine of this complex number.
|
Complex |
Complex.atan()
Returns the
inverse tangent of this complex number.
|
Complex |
Complex.atanh()
Returns the
inverse hyperbolic tangent of this complex number.
|
Complex |
Complex.conj()
Returns the
conjugate
\( \overline{z} \) of this complex number \( z \).
|
Complex |
Complex.cos()
Returns the
cosine of this complex number.
|
Complex |
Complex.cosh()
Returns the
hyperbolic cosine of this complex number.
|
Complex |
Complex.divide(Complex divisor)
Returns a
Complex whose value is (this / divisor) . |
Complex |
Complex.divide(double divisor)
Returns a
Complex whose value is (this / divisor) ,
with divisor interpreted as a real number. |
Complex |
Complex.divideImaginary(double divisor)
Returns a
Complex whose value is (this / divisor) ,
with divisor interpreted as an imaginary number. |
Complex |
Complex.exp()
Returns the
exponential function of this complex number.
|
Complex |
Complex.log()
Returns the
natural logarithm of this complex number.
|
Complex |
Complex.log10()
Returns the base 10
common logarithm of this complex number.
|
Complex |
Complex.multiply(Complex factor)
Returns a
Complex whose value is this * factor . |
Complex |
Complex.multiply(double factor)
Returns a
Complex whose value is this * factor , with factor
interpreted as a real number. |
Complex |
Complex.multiplyImaginary(double factor)
Returns a
Complex whose value is this * factor , with factor
interpreted as an imaginary number. |
Complex |
Complex.negate()
Returns a
Complex whose value is the negation of both the real and imaginary parts
of complex number \( z \). |
static Complex |
Complex.ofCartesian(double real,
double imaginary)
Create a complex number given the real and imaginary parts.
|
static Complex |
Complex.ofCis(double x)
Create a complex cis number.
|
static Complex |
Complex.ofPolar(double rho,
double theta)
Creates a complex number from its polar representation using modulus
rho (\( \rho \))
and phase angle theta (\( \theta \)). |
static Complex |
Complex.parse(String s)
Returns a
Complex instance representing the specified string s . |
Complex |
Complex.pow(Complex x)
Returns the complex power of this complex number raised to the power of
x . |
Complex |
Complex.pow(double x)
Returns the complex power of this complex number raised to the power of
x ,
with x interpreted as a real number. |
Complex |
Complex.proj()
Returns the projection of this complex number onto the Riemann sphere.
|
Complex |
Complex.sin()
Returns the
sine of this complex number.
|
Complex |
Complex.sinh()
Returns the
hyperbolic sine of this complex number.
|
Complex |
Complex.sqrt()
Returns the
square root of this complex number.
|
Complex |
Complex.subtract(Complex subtrahend)
Returns a
Complex whose value is (this - subtrahend) . |
Complex |
Complex.subtract(double subtrahend)
Returns a
Complex whose value is (this - subtrahend) ,
with subtrahend interpreted as a real number. |
Complex |
Complex.subtractFrom(double minuend)
Returns a
Complex whose value is (minuend - this) ,
with minuend interpreted as a real number. |
Complex |
Complex.subtractFromImaginary(double minuend)
Returns a
Complex whose value is (this - subtrahend) ,
with minuend interpreted as an imaginary number. |
Complex |
Complex.subtractImaginary(double subtrahend)
Returns a
Complex whose value is (this - subtrahend) ,
with subtrahend interpreted as an imaginary number. |
Complex |
Complex.tan()
Returns the
tangent of this complex number.
|
Complex |
Complex.tanh()
Returns the
hyperbolic tangent of this complex number.
|
Modifier and Type | Method and Description |
---|---|
List<Complex> |
Complex.nthRoot(int n)
Returns the n-th roots of this complex number.
|
Modifier and Type | Method and Description |
---|---|
Complex |
Complex.add(Complex addend)
Returns a
Complex whose value is (this + addend) . |
Complex |
Complex.divide(Complex divisor)
Returns a
Complex whose value is (this / divisor) . |
Complex |
Complex.multiply(Complex factor)
Returns a
Complex whose value is this * factor . |
Complex |
Complex.pow(Complex x)
Returns the complex power of this complex number raised to the power of
x . |
Complex |
Complex.subtract(Complex subtrahend)
Returns a
Complex whose value is (this - subtrahend) . |
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.