| Package | Description |
|---|---|
| dev.nm.algebra.linear.matrix.generic.matrixtype | |
| dev.nm.analysis.function.polynomial | |
| dev.nm.analysis.function.polynomial.root | |
| dev.nm.number.complex |
| Modifier and Type | Method and Description |
|---|---|
Complex |
ComplexMatrix.get(int row,
int col) |
| Modifier and Type | Method and Description |
|---|---|
ComplexMatrix |
ComplexMatrix.scaled(Complex scalar) |
void |
ComplexMatrix.set(int row,
int col,
Complex value) |
| Constructor and Description |
|---|
ComplexMatrix(Complex[][] data)
Construct a
Complex matrix. |
| Modifier and Type | Method and Description |
|---|---|
Complex |
Polynomial.evaluate(Complex z)
Evaluate this polynomial at x.
|
Complex |
Polynomial.evaluate(Number x)
Evaluate this polynomial at x.
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
Polynomial.evaluate(Complex z)
Evaluate this polynomial at x.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Complex> |
PolyRoot.getComplexRoots(List<? extends Number> roots)
Get a copy of only the
Complex but not real roots of a polynomial. |
| Modifier and Type | Field and Description |
|---|---|
static Complex |
Complex.I
a number representing 0.0 + 1.0i, the square root of -1
|
static Complex |
Complex.NaN
a number representing the complex Not-a-Number (
NaN) |
static Complex |
Complex.NEGATIVE_INFINITY
a number representing -∞ + -∞i
|
static Complex |
Complex.ONE
a number representing 1.0 + 0.0i
|
static Complex |
Complex.POSITIVE_INFINITY
a number representing +∞ + ∞i
|
static Complex |
Complex.ZERO
a number representing 0.0 + 0.0i
|
| Modifier and Type | Method and Description |
|---|---|
static Complex |
ElementaryFunction.acos(Complex z)
Inverse of cosine.
\[
\arccos(z) = pi / 2 + i \ln(iz + \sqrt{1 - z^{2}}) = pi / 2 - \arcsin(z)
\]
|
Complex |
Complex.add(Complex that) |
static Complex |
ElementaryFunction.asin(Complex z)
Inverse of sine.
\[
\arcsin(z) = -i \ln(iz + \sqrt{1 - z^{2}})
\]
|
static Complex |
ElementaryFunction.atan(Complex z)
Inverse of tangent.
\[
\arctan(z) = i \cdot ( \ln ( 1 - iz ) - \ln ( 1 + iz) ) / 2
\]
|
Complex |
Complex.conjugate()
Get the conjugate of the complex number, namely, (a - bi).
|
static Complex |
ElementaryFunction.cos(Complex z)
Cosine of a complex number.
\[
\cos(a + bi) = \cos(a)\cosh(b) - i \sin(a)\sinh(b)
\]
|
static Complex |
ElementaryFunction.cosh(Complex z)
Hyperbolic cosine of a complex number.
\[
\cosh(a + bi) = \cosh(a)\cos(b) + i \sinh(a)\sin(b)
\]
|
Complex |
Complex.divide(Complex that)
Compute the quotient of this complex number divided by another complex number.
\[
\frac{a + bi}{c + di} = \frac{ac + bd + (bc - ad)i}{c^2 + d^2}
\]
ABSTRACT
We develop a simple method for scaling to avoid overflow and harmful underflow in complex
division.
|
static Complex |
ElementaryFunction.exp(Complex z)
Exponential of a complex number.
\[
\begin{gathered}
\exp(a + bi) = \exp(a) \cdot [\cos(b) + i \sin(b)] \\
= \exp(b)\cos(b) + i \exp(a)\sin(b)
\end{gathered}
\]
|
static Complex |
Complex.fromPolar(double r,
double theta)
Factory method to construct a complex number from the polar form: (r, θ).
|
Complex |
Complex.inverse() |
static Complex |
ElementaryFunction.log(Complex z)
Natural logarithm of a complex number.
\[
\ln(a + bi) = \ln(r \exp(i \theta )) = \ln(r) + i \theta
\]
|
Complex |
Complex.minus(Complex that) |
Complex |
Complex.multiply(Complex that)
Compute the product of this complex number and that complex number.
|
Complex |
Complex.ONE()
Get one - the number representing 1.0 + 0.0i.
|
Complex |
Complex.opposite() |
static Complex |
ElementaryFunction.pow(Complex z1,
Complex z2)
z1 to the power z2.
\[
(r \exp(i \theta )) ^ (a + bi) = r^a \exp(-b \theta ) (\cos(b \ln(r) + a \theta ) + i \sin(b \ln(r) + a \theta ))
\]
|
static Complex |
ElementaryFunction.sin(Complex z)
Sine of a complex number.
\[
\sin(a + bi) = \sin(a)\cosh(b) + i \cos(a)\sinh(b)
\]
|
static Complex |
ElementaryFunction.sinh(Complex z)
Hyperbolic sine of a complex number.
\[
\sinh(a + bi) = \sinh(a)\cos(b) + i \cosh(a)\sin(b)
\]
|
static Complex |
ElementaryFunction.sqrt(Complex z)
Square root of a complex number.
|
static Complex |
ElementaryFunction.tan(Complex z)
Tangent of a complex number.
\[
\tan(a + bi) = [\sin(2a) + i \sinh(2a)] / [\cos(2a) + \cosh(2b)]
\]
|
static Complex |
ElementaryFunction.tanh(Complex z)
Hyperbolic tangent of a complex number.
\[
\tanh(a + bi) = [\sinh(2a) + i \sin(2b)] / [\cosh(2a) + \cos(2b)]
\]
|
Complex |
Complex.ZERO()
Get zero - the number representing 0.0 + 0.0i.
|
| Modifier and Type | Method and Description |
|---|---|
static Complex |
ElementaryFunction.acos(Complex z)
Inverse of cosine.
\[
\arccos(z) = pi / 2 + i \ln(iz + \sqrt{1 - z^{2}}) = pi / 2 - \arcsin(z)
\]
|
Complex |
Complex.add(Complex that) |
static Complex |
ElementaryFunction.asin(Complex z)
Inverse of sine.
\[
\arcsin(z) = -i \ln(iz + \sqrt{1 - z^{2}})
\]
|
static Complex |
ElementaryFunction.atan(Complex z)
Inverse of tangent.
\[
\arctan(z) = i \cdot ( \ln ( 1 - iz ) - \ln ( 1 + iz) ) / 2
\]
|
static Complex |
ElementaryFunction.cos(Complex z)
Cosine of a complex number.
\[
\cos(a + bi) = \cos(a)\cosh(b) - i \sin(a)\sinh(b)
\]
|
static Complex |
ElementaryFunction.cosh(Complex z)
Hyperbolic cosine of a complex number.
\[
\cosh(a + bi) = \cosh(a)\cos(b) + i \sinh(a)\sin(b)
\]
|
Complex |
Complex.divide(Complex that)
Compute the quotient of this complex number divided by another complex number.
\[
\frac{a + bi}{c + di} = \frac{ac + bd + (bc - ad)i}{c^2 + d^2}
\]
ABSTRACT
We develop a simple method for scaling to avoid overflow and harmful underflow in complex
division.
|
static Complex |
ElementaryFunction.exp(Complex z)
Exponential of a complex number.
\[
\begin{gathered}
\exp(a + bi) = \exp(a) \cdot [\cos(b) + i \sin(b)] \\
= \exp(b)\cos(b) + i \exp(a)\sin(b)
\end{gathered}
\]
|
static boolean |
Complex.isInfinite(Complex z)
Check if a complex number is an infinity;
i.e., either the real or the imaginary part is infinite, c.f.,
Double.isInfinite(),
and the number is not a NaN. |
static boolean |
Complex.isNaN(Complex z)
Check if a complex number is an
NaN;
i.e., either the real or the imaginary part is an NaN. |
static boolean |
Complex.isReal(Complex z)
Check if this complex number is a real number;
i.e., the imaginary part is 0.
|
static Complex |
ElementaryFunction.log(Complex z)
Natural logarithm of a complex number.
\[
\ln(a + bi) = \ln(r \exp(i \theta )) = \ln(r) + i \theta
\]
|
Complex |
Complex.minus(Complex that) |
Complex |
Complex.multiply(Complex that)
Compute the product of this complex number and that complex number.
|
static Complex |
ElementaryFunction.pow(Complex z1,
Complex z2)
z1 to the power z2.
\[
(r \exp(i \theta )) ^ (a + bi) = r^a \exp(-b \theta ) (\cos(b \ln(r) + a \theta ) + i \sin(b \ln(r) + a \theta ))
\]
|
static Complex |
ElementaryFunction.sin(Complex z)
Sine of a complex number.
\[
\sin(a + bi) = \sin(a)\cosh(b) + i \cos(a)\sinh(b)
\]
|
static Complex |
ElementaryFunction.sinh(Complex z)
Hyperbolic sine of a complex number.
\[
\sinh(a + bi) = \sinh(a)\cos(b) + i \cosh(a)\sin(b)
\]
|
static Complex |
ElementaryFunction.sqrt(Complex z)
Square root of a complex number.
|
static Complex |
ElementaryFunction.tan(Complex z)
Tangent of a complex number.
\[
\tan(a + bi) = [\sin(2a) + i \sinh(2a)] / [\cos(2a) + \cosh(2b)]
\]
|
static Complex |
ElementaryFunction.tanh(Complex z)
Hyperbolic tangent of a complex number.
\[
\tanh(a + bi) = [\sinh(2a) + i \sin(2b)] / [\cosh(2a) + \cos(2b)]
\]
|
Copyright © 2010-2026 NM Group. All Rights Reserved.