public class ComplexUtil extends Object
Modifier and Type | Method and Description |
---|---|
static IComplexNumber |
abs(IComplexNumber num)
Return the absolute value of the given complex number
|
static IComplexNumber |
acos(IComplexNumber num)
Return the sin value of the given complex number
|
static IComplexNumber |
asin(IComplexNumber num)
Return the sin value of the given complex number
|
static IComplexNumber |
atan(IComplexNumber num)
Return the sin value of the given complex number
|
static IComplexNumber |
ceil(IComplexNumber num)
Return the ceiling value of the given complex number
|
static IComplexNumber |
cos(IComplexNumber num)
Return the cos of a complex number
|
static IComplexDouble |
exp(IComplexDouble d)
Returns the exp of a complex number:
Let r be the realComponent component and i be the imaginary
Let ret be the complex number returned
ret -> exp(r) * cos(i), exp(r) * sin(i)
where the first number is the realComponent component
and the second number is the imaginary component
|
static IComplexFloat |
exp(IComplexFloat d)
Returns the exp of a complex number:
Let r be the realComponent component and i be the imaginary
Let ret be the complex number returned
ret -> exp(r) * cos(i), exp(r) * sin(i)
where the first number is the realComponent component
and the second number is the imaginary component
|
static IComplexNumber |
exp(IComplexNumber d)
Returns the exp of a complex number:
Let r be the realComponent component and i be the imaginary
Let ret be the complex number returned
ret -> exp(r) * cos(i), exp(r) * sin(i)
where the first number is the realComponent component
and the second number is the imaginary component
|
static IComplexNumber |
floor(IComplexNumber num)
Return the floor value of the given complex number
|
static IComplexNumber |
hardTanh(IComplexNumber num)
Return the tanh of a complex number
|
static IComplexNumber |
log(IComplexNumber num)
Return the log value of the given complex number
|
static IComplexNumber |
neg(IComplexNumber num)
Return the log value of the given complex number
|
static IComplexNumber |
pow(IComplexNumber num,
double power)
Raise a complex number to a power
|
static IComplexNumber |
pow(IComplexNumber num,
IComplexNumber power)
Raise a complex number to a power
|
static IComplexNumber |
round(IComplexNumber num) |
static IComplexNumber |
sin(IComplexNumber num)
Return the sin value of the given complex number
|
static IComplexNumber |
sqrt(IComplexNumber num)
Return the absolute value of the given complex number
|
static IComplexNumber |
tanh(IComplexNumber num)
Return the tanh of a complex number
|
public static IComplexNumber atan(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber acos(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber asin(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber sin(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber ceil(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber floor(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber neg(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber log(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber sqrt(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber abs(IComplexNumber num)
num
- the number to getScalar the absolute value forpublic static IComplexNumber round(IComplexNumber num)
public static IComplexNumber pow(IComplexNumber num, IComplexNumber power)
num
- the number to raisepower
- the power to raise topublic static IComplexNumber pow(IComplexNumber num, double power)
num
- the number to raisepower
- the power to raise topublic static IComplexNumber cos(IComplexNumber num)
num
- the tanh of a complex numberpublic static IComplexNumber hardTanh(IComplexNumber num)
num
- the tanh of a complex numberpublic static IComplexNumber tanh(IComplexNumber num)
num
- the tanh of a complex numberpublic static IComplexNumber exp(IComplexNumber d)
d
- the number to getFromOrigin the exp ofpublic static IComplexDouble exp(IComplexDouble d)
d
- the number to getFromOrigin the exp ofpublic static IComplexFloat exp(IComplexFloat d)
d
- the number to getFromOrigin the exp ofCopyright © 2015. All Rights Reserved.