Class: Math_ComplexOp
Source Location: /Math_Complex-0.8.6/Math/ComplexOp.php
Math_ComplexOp: static class to operate on Math_Complex objects
Author(s):
Version:
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Method Detail
acos [line 485]
Math_Complex|PEAR_Error &acos(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse cosine of a complex number: z = acos(c1)
Parameters:
acosh [line 737]
Math_Complex|PEAR_Error &acosh(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse hyperbolic cosine of a complex number: z = acosh(c1)
Parameters:
acot [line 574]
Math_Complex|PEAR_Error &acot(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse cotangent of a complex number: z = acot(c1)
Parameters:
acoth [line 823]
Math_Complex|PEAR_Error &acoth(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse hyperbolic cotangent of a complex number: z = acoth(c1)
Parameters:
acsc [line 553]
Math_Complex|PEAR_Error &acsc(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse cosecant of a complex number: z = acsc(c1)
Parameters:
acsch [line 805]
Math_Complex|PEAR_Error &acsch(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse hyperbolic cosecant of a complex number: z = acsch(c1)
Parameters:
add [line 867]
Math_Complex|PEAR_Error &add(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Returns the sum of two complex numbers: z = c1 + c2
Parameters:
areEqual [line 844]
boolean|PEAR_Error &areEqual(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Determines if is c1 == c2:
Parameters:
asec [line 532]
Math_Complex|PEAR_Error &asec(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse secant of a complex number: z = asec(c1)
Parameters:
asech [line 787]
Math_Complex|PEAR_Error &asech(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse hyperbolic secant of a complex number: z = asech(c1)
Parameters:
asin [line 384]
Math_Complex|PEAR_Error &asin(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse sine of a complex number: z = asin(c1)
Parameters:
asinAlt [line 408]
Math_Complex|PEAR_Error &asinAlt(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse sine of a complex number: z = asinAlt(c1) Uses an alternative algorithm
Parameters:
asinh [line 714]
Math_Complex|PEAR_Error &asinh(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse hyperbolic sine of a complex number: z = asinh(c1)
Parameters:
asinReal [line 462]
Math_Complex &asinReal(
float
$r)
|
|
Calculates the complex inverse sine of a real number: z = asinReal(r):
Parameters:
atan [line 507]
Math_Complex|PEAR_Error &atan(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse tangent of a complex number: z = atan(c1):
Parameters:
atanh [line 759]
Math_Complex|PEAR_Error &atanh(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse hyperbolic tangent of a complex number: z = atanh(c1)
Parameters:
conjugate [line 211]
Math_Complex|PEAR_Error &conjugate(
&$c1, Math_Complex
$c1)
|
|
Calculates the conjugate of a complex number: z = conj(c1)
Parameters:
cos [line 288]
Math_Complex|PEAR_Error &cos(
&$c1, Math_Complex
$c1)
|
|
Calculates the cosine of a complex number: z = cos(c1)
Parameters:
cosh [line 616]
Math_Complex|PEAR_Error &cosh(
&$c1, Math_Complex
$c1)
|
|
Calculates the hyperbolic cosine of a complex number: z = cosh(c1)
Parameters:
cot [line 363]
Math_Complex|PEAR_Error &cot(
&$c1, Math_Complex
$c1)
|
|
Calculates the cotangent of a complex number: z = cot(c1)
Parameters:
coth [line 693]
Math_Complex|PEAR_Error &coth(
&$c1, Math_Complex
$c1)
|
|
Calculates the hyperbolic cotangent of a complex number: z = coth(c1)
Parameters:
createFromPolar [line 76]
Math_Complex &createFromPolar(
float
$r, float
$theta)
|
|
Converts a polar complex z = r*exp(theta*i) to z = a + b*i
Parameters:
csc [line 346]
Math_Complex|PEAR_Error &csc(
&$c1, Math_Complex
$c1)
|
|
Calculates the cosecant of a complex number: z = csc(c1)
Parameters:
csch [line 674]
Math_Complex|PEAR_Error &csch(
&$c1, Math_Complex
$c1)
|
|
Calculates the hyperbolic cosecant of a complex number: z = csch(c1)
Parameters:
div [line 929]
Math_Complex|PEAR_Error &div(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Returns the division of two complex numbers: z = c1 * c2
Parameters:
exp [line 155]
Math_Complex|PEAR_Error &exp(
&$c1, Math_Complex
$c1)
|
|
Calculates the exponential of a complex number: z = exp(c1)
Parameters:
inverse [line 245]
Math_Complex|PEAR_Error &inverse(
&$c1, Math_Complex
$c1)
|
|
Calculates the inverse of a complex number: z = 1/c1
Parameters:
isComplex [line 56]
Checks if a given object is an instance of PEAR::Math_Complex
Parameters:
log [line 176]
Math_Complex|PEAR_Error &log(
&$c1, Math_Complex
$c1)
|
|
Calculates the logarithm (base 2) of a complex number: z = log(c1)
Parameters:
log10 [line 194]
Math_Complex|PEAR_Error &log10(
&$c1, Math_Complex
$c1)
|
|
Calculates the logarithm (base 10) of a complex number: z = log10(c1)
Parameters:
logBase [line 991]
Math_Complex|PEAR_Error &logBase(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Returns the logarithm of base c2 of the complex number c1
Parameters:
mult [line 907]
Math_Complex|PEAR_Error &mult(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Returns the product of two complex numbers: z = c1 * c2
Parameters:
multIm [line 1037]
Math_Complex|PEAR_Error &multIm(
Math_Complex
$c1, float
$im)
|
|
Returns the product of a complex number and an imaginary number if: x = b + c*i, y = a*i; then: z = x * y = multIm(x, a)
Parameters:
multReal [line 1013]
Math_Complex|PEAR_Error &multReal(
&$c1, float
$real, Math_Complex
$c1)
|
|
Multiplies a complex number by a real number: z = realnumber * c1
Parameters:
negative [line 227]
Math_Complex|PEAR_Error &negative(
&$c1, Math_Complex
$c1)
|
|
Calculates the negative of a complex number: z = -c1
Parameters:
pow [line 958]
Math_Complex|PEAR_Error &pow(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Returns the complex power of two complex numbers: z = c1^c2
Parameters:
powReal [line 1060]
Math_Complex|PEAR_Error &powReal(
Math_Complex
$c1, float
$real)
|
|
Returns the exponentiation of a complex numbers to a real power: z = c1^(real)
Parameters:
sec [line 329]
Math_Complex|PEAR_Error &sec(
&$c1, Math_Complex
$c1)
|
|
Calculates the secant of a complex number: z = sec(c1)
Parameters:
sech [line 655]
Math_Complex|PEAR_Error &sech(
&$c1, Math_Complex
$c1)
|
|
Calculates the hyperbolic secant of a complex number: z = sech(c1)
Parameters:
sin [line 269]
Math_Complex|PEAR_Error &sin(
&$c1, Math_Complex
$c1)
|
|
Calculates the sine of a complex number: z = sin(c1)
Parameters:
sinh [line 597]
Math_Complex|PEAR_Error &sinh(
&$c1, Math_Complex
$c1)
|
|
Calculates the hyperbolic sine of a complex number: z = sinh(c1)
Parameters:
sqrt [line 96]
Math_Complex|PEAR_Error &sqrt(
&$c1, Math_Complex
$c1)
|
|
Calculates the complex square root of a complex number: z = sqrt(c1)
Parameters:
sqrtReal [line 134]
Math_Complex &sqrtReal(
float
$realnum)
|
|
Calculates the complex square root of a real number: z = sqrt(realnumber)
Parameters:
sub [line 887]
Math_Complex|PEAR_Error &sub(
&$c1,
&$c2, Math_Complex
$c1, Math_Complex
$c2)
|
|
Returns the difference of two complex numbers: z = c1 - c2
Parameters:
tan [line 307]
Math_Complex|PEAR_Error &tan(
&$c1, Math_Complex
$c1)
|
|
Calculates the tangent of a complex number: z = tan(c1)
Parameters:
tanh [line 635]
Math_Complex|PEAR_Error &tanh(
&$c1, Math_Complex
$c1)
|
|
Calculates the hyperbolic tangent of a complex number: z = tanh(c1)
Parameters:
Documentation generated on Mon, 11 Mar 2019 15:39:24 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|