Package | Description |
---|---|
org.mathIT.numbers |
Provides classes for number theory.
|
Modifier and Type | Field and Description |
---|---|
static Complex |
Complex.I
Constant i ∈ ℂ.
|
static Complex |
Complex.ONE
Constant 1 ∈ ℂ.
|
static Complex |
Complex.ZERO
Constant 0 ∈ ℂ.
|
Modifier and Type | Method and Description |
---|---|
Complex |
Complex.add(Complex z)
Returns the sum of this number and the complex number z.
|
static Complex |
Complex.cos(Complex z)
Returns the cosine of this complex number.
|
Complex |
Complex.divide(Complex z)
divides this complex numbers by z.
|
static Complex |
Complex.divide(double x,
Complex y)
divides a real number x by a complex number y.
|
static Complex |
Complex.exp(Complex z)
The exponential function of the complex number z.
|
static Complex |
Complex.gamma(Complex z)
The Euler gamma function Γ(z) of a complex number z.
|
static Complex |
Complex.ln(Complex z)
Logarithm of this complex number z.
|
static Complex |
Complex.lnGamma(Complex z)
Logarithm of the Euler gamma function of a complex number z.
|
static Complex |
Complex.lnSin(Complex z)
Returns the natural logarithm of the sine of a complex number z.
|
Complex |
Complex.minus(Complex z)
subtracts z from this complex number.
|
Complex |
Complex.multiply(Complex z)
Returns the product of this complex number and the complex number z.
|
static Complex |
Complex.multiply(Complex x,
Complex y)
The product of two complex numbers.
|
Complex |
Complex.multiply(double x)
The product of a real number x with this complex number.
|
Complex |
Complex.plus(Complex z)
Returns the sum of this number and the complex number z.
|
Complex |
Complex.pow(Complex s)
Returns zs where z is this complex number,
and s is a complex number.
|
static Complex |
Complex.power(double x,
Complex s)
Returns xs for a real number x and a complex number s.
|
Complex |
Complex.reciprocal()
Returns the reciprocal of this number.
|
Complex |
Complex.sin()
Returns the sine of this complex number.
|
static Complex |
Complex.sin(Complex z)
Returns the sine of a complex number z.
|
static Complex |
Complex.sqrt(Complex z)
Returns the square root of a complex number z.
|
Complex |
Complex.subtract(Complex z)
subtracts z from this complex number.
|
Modifier and Type | Method and Description |
---|---|
static double |
Complex.abs(Complex z)
Returns the absolute value, or complex modulus,
|z| of z ∈ ℂ
of the complex number z.
|
Complex |
Complex.add(Complex z)
Returns the sum of this number and the complex number z.
|
static double |
Complex.arg(Complex z)
Returns the argument of the complex number z.
|
static Complex |
Complex.cos(Complex z)
Returns the cosine of this complex number.
|
Complex |
Complex.divide(Complex z)
divides this complex numbers by z.
|
static Complex |
Complex.divide(double x,
Complex y)
divides a real number x by a complex number y.
|
static Complex |
Complex.exp(Complex z)
The exponential function of the complex number z.
|
static Complex |
Complex.gamma(Complex z)
The Euler gamma function Γ(z) of a complex number z.
|
static Complex |
Complex.ln(Complex z)
Logarithm of this complex number z.
|
static Complex |
Complex.lnGamma(Complex z)
Logarithm of the Euler gamma function of a complex number z.
|
static Complex |
Complex.lnSin(Complex z)
Returns the natural logarithm of the sine of a complex number z.
|
Complex |
Complex.minus(Complex z)
subtracts z from this complex number.
|
Complex |
Complex.multiply(Complex z)
Returns the product of this complex number and the complex number z.
|
static Complex |
Complex.multiply(Complex x,
Complex y)
The product of two complex numbers.
|
Complex |
Complex.plus(Complex z)
Returns the sum of this number and the complex number z.
|
Complex |
Complex.pow(Complex s)
Returns zs where z is this complex number,
and s is a complex number.
|
static Complex |
Complex.power(double x,
Complex s)
Returns xs for a real number x and a complex number s.
|
static Complex |
Complex.sin(Complex z)
Returns the sine of a complex number z.
|
static Complex |
Complex.sqrt(Complex z)
Returns the square root of a complex number z.
|
Complex |
Complex.subtract(Complex z)
subtracts z from this complex number.
|
static String |
Complex.toString(Complex z)
Returns a string representation of the complex number z
in a "readable" standard format.
|
static String |
Complex.toString(Complex z,
DecimalFormat digit)
Returns a string representation of this complex number in a "readable" standard format.
|
Constructor and Description |
---|
Quaternion(Complex z)
Creates a quaternion
x
= Re z + (Im z)∙i + 0∙j + 0∙k
from a complex number x0 + x1 i.
|