Class JSci.maths.ComplexMath
All Packages Class Hierarchy This Package Previous Next Index
Class JSci.maths.ComplexMath
java.lang.Object
|
+----JSci.maths.ComplexMath
- public final class ComplexMath
- extends Object
The complex math library.
This class cannot be subclassed or instantiated because all methods are static.
-
acos(Complex)
- Returns the arc cosine of a complex number.
-
acosh(Complex)
- Returns the arc hyperbolic cosine of a complex number.
-
add(Complex, Complex)
- Returns the addition of two complex numbers (z1+z2).
-
add(Complex, Complex, Complex)
- Returns the addition of three complex numbers (z1+z2+z3).
-
addImag(Complex, double)
- Returns the addition of a complex number and an imaginary part.
-
addReal(Complex, double)
- Returns the addition of a complex number and a real part.
-
asin(Complex)
- Returns the arc sine of a complex number.
-
asinh(Complex)
- Returns the arc hyperbolic sine of a complex number.
-
atan(Complex)
- Returns the arc tangent of a complex number.
-
atanh(Complex)
- Returns the arc hyperbolic tangent of a complex number.
-
conjugate(Complex)
- Returns the complex conjugate of a complex number.
-
cos(Complex)
- Returns the trigonometric cosine of a complex angle.
-
cosh(Complex)
- Returns the hyperbolic cosine of a complex number.
-
divide(Complex, Complex)
- Returns the division of two complex numbers (z1/z2).
-
divide(Complex, double)
- Returns the division of a complex number by a scalar.
-
exp(Complex)
- Returns the exponential number e(2.718...) raised to the power of z.
-
log(Complex)
- Returns the natural logarithm (base e) of z.
-
multiply(Complex, Complex)
- Returns the multiplication of two complex numbers (z1*z2).
-
multiply(Complex, Complex, Complex)
- Returns the multiplication of three complex numbers (z1*z2*z3).
-
multiply(double, Complex)
- Returns the multiplication of a complex number by a scalar.
-
negate(Complex)
- Returns the negative of a complex number.
-
pow(Complex, Complex)
- Returns the complex number z1 raised to the power of z2.
-
pow(Complex, double)
- Returns the complex number z raised to the power of x.
-
product(Complex[])
- Returns the product of the complex numbers in an array.
-
sin(Complex)
- Returns the trigonometric sine of a complex angle.
-
sinh(Complex)
- Returns the hyperbolic sine of a complex number.
-
sqr(Complex)
- Returns the square of a complex number.
-
sqrt(Complex)
- Returns the square root of a complex number.
-
subtract(Complex, Complex)
- Returns the subtraction of two complex numbers (z1-z2).
-
subtractImag(Complex, double)
- Returns the subtraction of a complex number by an imaginary part.
-
subtractReal(Complex, double)
- Returns the subtraction of a complex number by a real part.
-
sum(Complex[])
- Returns the sum of the complex numbers in an array.
-
tan(Complex)
- Returns the trigonometric tangent of a complex angle.
-
tanh(Complex)
- Returns the hyperbolic tangent of a complex number.
negate
public static Complex negate(Complex z)
- Returns the negative of a complex number.
- Parameters:
- z - a complex number
conjugate
public static Complex conjugate(Complex z)
- Returns the complex conjugate of a complex number.
- Parameters:
- z - a complex number
sum
public static Complex sum(Complex zarray[])
- Returns the sum of the complex numbers in an array.
- Parameters:
- zarray - an array of complex numbers
product
public static Complex product(Complex zarray[])
- Returns the product of the complex numbers in an array.
- Parameters:
- zarray - an array of complex numbers
add
public static Complex add(Complex z1,
Complex z2)
- Returns the addition of two complex numbers (z1+z2).
- Parameters:
- z1 - a complex number
- z2 - a complex number
addReal
public static Complex addReal(Complex z,
double re)
- Returns the addition of a complex number and a real part.
- Parameters:
- z - a complex number
- re - a real part
addImag
public static Complex addImag(Complex z,
double im)
- Returns the addition of a complex number and an imaginary part.
- Parameters:
- z - a complex number
- im - an imaginary part
add
public static Complex add(Complex z1,
Complex z2,
Complex z3)
- Returns the addition of three complex numbers (z1+z2+z3).
- Parameters:
- z1 - a complex number
- z2 - a complex number
- z3 - a complex number
subtract
public static Complex subtract(Complex z1,
Complex z2)
- Returns the subtraction of two complex numbers (z1-z2).
- Parameters:
- z1 - a complex number
- z2 - a complex number
subtractReal
public static Complex subtractReal(Complex z,
double re)
- Returns the subtraction of a complex number by a real part.
- Parameters:
- z - a complex number
- re - a real part
subtractImag
public static Complex subtractImag(Complex z,
double im)
- Returns the subtraction of a complex number by an imaginary part.
- Parameters:
- z - a complex number
- im - an imaginary part
multiply
public static Complex multiply(Complex z1,
Complex z2)
- Returns the multiplication of two complex numbers (z1*z2).
- Parameters:
- z1 - a complex number
- z2 - a complex number
multiply
public static Complex multiply(Complex z1,
Complex z2,
Complex z3)
- Returns the multiplication of three complex numbers (z1*z2*z3).
- Parameters:
- z1 - a complex number
- z2 - a complex number
- z3 - a complex number
multiply
public static Complex multiply(double x,
Complex z)
- Returns the multiplication of a complex number by a scalar.
- Parameters:
- x - a real number
- z - a complex number
divide
public static Complex divide(Complex z1,
Complex z2)
- Returns the division of two complex numbers (z1/z2).
- Parameters:
- z1 - a complex number
- z2 - a complex number
divide
public static Complex divide(Complex z,
double x)
- Returns the division of a complex number by a scalar.
- Parameters:
- z - a complex number
- x - a real number
pow
public static Complex pow(Complex z1,
Complex z2)
- Returns the complex number z1 raised to the power of z2.
- Parameters:
- z1 - a complex number
- z2 - a complex number
pow
public static Complex pow(Complex z,
double x)
- Returns the complex number z raised to the power of x.
- Parameters:
- z - a complex number
- x - a real number
sqr
public static Complex sqr(Complex z)
- Returns the square of a complex number.
- Parameters:
- z - a complex number
sqrt
public static Complex sqrt(Complex z)
- Returns the square root of a complex number.
- Parameters:
- z - a complex number
exp
public static Complex exp(Complex z)
- Returns the exponential number e(2.718...) raised to the power of z.
- Parameters:
- z - a complex number
log
public static Complex log(Complex z)
- Returns the natural logarithm (base e) of z.
- Parameters:
- z - a complex number
sin
public static Complex sin(Complex z)
- Returns the trigonometric sine of a complex angle.
- Parameters:
- z - an angle that is measured in radians
cos
public static Complex cos(Complex z)
- Returns the trigonometric cosine of a complex angle.
- Parameters:
- z - an angle that is measured in radians
tan
public static Complex tan(Complex z)
- Returns the trigonometric tangent of a complex angle.
- Parameters:
- z - an angle that is measured in radians
sinh
public static Complex sinh(Complex z)
- Returns the hyperbolic sine of a complex number.
- Parameters:
- z - a complex number
cosh
public static Complex cosh(Complex z)
- Returns the hyperbolic cosine of a complex number.
- Parameters:
- z - a complex number
tanh
public static Complex tanh(Complex z)
- Returns the hyperbolic tangent of a complex number.
- Parameters:
- z - a complex number
asin
public static Complex asin(Complex z)
- Returns the arc sine of a complex number.
- Parameters:
- z - a complex number
acos
public static Complex acos(Complex z)
- Returns the arc cosine of a complex number.
- Parameters:
- z - a complex number
atan
public static Complex atan(Complex z)
- Returns the arc tangent of a complex number.
- Parameters:
- z - a complex number
asinh
public static Complex asinh(Complex z)
- Returns the arc hyperbolic sine of a complex number.
- Parameters:
- z - a complex number
acosh
public static Complex acosh(Complex z)
- Returns the arc hyperbolic cosine of a complex number.
- Parameters:
- z - a complex number
atanh
public static Complex atanh(Complex z)
- Returns the arc hyperbolic tangent of a complex number.
- Parameters:
- z - a complex number
All Packages Class Hierarchy This Package Previous Next Index