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.

Method Index

 o acos(Complex)
Returns the arc cosine of a complex number.
 o acosh(Complex)
Returns the arc hyperbolic cosine of a complex number.
 o add(Complex, Complex)
Returns the addition of two complex numbers (z1+z2).
 o add(Complex, Complex, Complex)
Returns the addition of three complex numbers (z1+z2+z3).
 o addImag(Complex, double)
Returns the addition of a complex number and an imaginary part.
 o addReal(Complex, double)
Returns the addition of a complex number and a real part.
 o asin(Complex)
Returns the arc sine of a complex number.
 o asinh(Complex)
Returns the arc hyperbolic sine of a complex number.
 o atan(Complex)
Returns the arc tangent of a complex number.
 o atanh(Complex)
Returns the arc hyperbolic tangent of a complex number.
 o conjugate(Complex)
Returns the complex conjugate of a complex number.
 o cos(Complex)
Returns the trigonometric cosine of a complex angle.
 o cosh(Complex)
Returns the hyperbolic cosine of a complex number.
 o divide(Complex, Complex)
Returns the division of two complex numbers (z1/z2).
 o divide(Complex, double)
Returns the division of a complex number by a scalar.
 o exp(Complex)
Returns the exponential number e(2.718...) raised to the power of z.
 o log(Complex)
Returns the natural logarithm (base e) of z.
 o multiply(Complex, Complex)
Returns the multiplication of two complex numbers (z1*z2).
 o multiply(Complex, Complex, Complex)
Returns the multiplication of three complex numbers (z1*z2*z3).
 o multiply(double, Complex)
Returns the multiplication of a complex number by a scalar.
 o negate(Complex)
Returns the negative of a complex number.
 o pow(Complex, Complex)
Returns the complex number z1 raised to the power of z2.
 o pow(Complex, double)
Returns the complex number z raised to the power of x.
 o product(Complex[])
Returns the product of the complex numbers in an array.
 o sin(Complex)
Returns the trigonometric sine of a complex angle.
 o sinh(Complex)
Returns the hyperbolic sine of a complex number.
 o sqr(Complex)
Returns the square of a complex number.
 o sqrt(Complex)
Returns the square root of a complex number.
 o subtract(Complex, Complex)
Returns the subtraction of two complex numbers (z1-z2).
 o subtractImag(Complex, double)
Returns the subtraction of a complex number by an imaginary part.
 o subtractReal(Complex, double)
Returns the subtraction of a complex number by a real part.
 o sum(Complex[])
Returns the sum of the complex numbers in an array.
 o tan(Complex)
Returns the trigonometric tangent of a complex angle.
 o tanh(Complex)
Returns the hyperbolic tangent of a complex number.

Methods

 o negate
  public static Complex negate(Complex z)
Returns the negative of a complex number.
Parameters:
z - a complex number
 o conjugate
  public static Complex conjugate(Complex z)
Returns the complex conjugate of a complex number.
Parameters:
z - a complex number
 o sum
  public static Complex sum(Complex zarray[])
Returns the sum of the complex numbers in an array.
Parameters:
zarray - an array of complex numbers
 o product
  public static Complex product(Complex zarray[])
Returns the product of the complex numbers in an array.
Parameters:
zarray - an array of complex numbers
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o sqr
  public static Complex sqr(Complex z)
Returns the square of a complex number.
Parameters:
z - a complex number
 o sqrt
  public static Complex sqrt(Complex z)
Returns the square root of a complex number.
Parameters:
z - a complex number
 o 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
 o log
  public static Complex log(Complex z)
Returns the natural logarithm (base e) of z.
Parameters:
z - a complex number
 o sin
  public static Complex sin(Complex z)
Returns the trigonometric sine of a complex angle.
Parameters:
z - an angle that is measured in radians
 o cos
  public static Complex cos(Complex z)
Returns the trigonometric cosine of a complex angle.
Parameters:
z - an angle that is measured in radians
 o tan
  public static Complex tan(Complex z)
Returns the trigonometric tangent of a complex angle.
Parameters:
z - an angle that is measured in radians
 o sinh
  public static Complex sinh(Complex z)
Returns the hyperbolic sine of a complex number.
Parameters:
z - a complex number
 o cosh
  public static Complex cosh(Complex z)
Returns the hyperbolic cosine of a complex number.
Parameters:
z - a complex number
 o tanh
  public static Complex tanh(Complex z)
Returns the hyperbolic tangent of a complex number.
Parameters:
z - a complex number
 o asin
  public static Complex asin(Complex z)
Returns the arc sine of a complex number.
Parameters:
z - a complex number
 o acos
  public static Complex acos(Complex z)
Returns the arc cosine of a complex number.
Parameters:
z - a complex number
 o atan
  public static Complex atan(Complex z)
Returns the arc tangent of a complex number.
Parameters:
z - a complex number
 o asinh
  public static Complex asinh(Complex z)
Returns the arc hyperbolic sine of a complex number.
Parameters:
z - a complex number
 o acosh
  public static Complex acosh(Complex z)
Returns the arc hyperbolic cosine of a complex number.
Parameters:
z - a complex number
 o 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