메소드 | 설명 | |
---|---|---|
Arg ( ) : double |
Argument of this Complex number (the angle in radians with the x-axis in polar coordinates).
|
|
ComplexNumber ( |
Create a complex number from another complex number.
|
|
ComplexNumber ( double u, double v ) : System |
Constructs the complex number z = u + i*v
|
|
Conj ( ) : |
Complex conjugate of this Complex number (the conjugate of x+i*y is x-i*y).
|
|
Cos ( ) : |
Cosine of this Complex number (doesn't change this Complex number). cos(z) = (exp(i*z)+exp(-i*z))/ 2.
|
|
Cosh ( ) : |
Hyperbolic cosine of this Complex number (doesn't change this Complex number). cosh(z) = (exp(z) + exp(-z)) / 2.
|
|
Exp ( ) : |
Complex exponential (doesn't change this Complex number).
|
|
Log ( ) : |
Principal branch of the Complex logarithm of this Complex number. (doesn't change this Complex number). The principal branch is the branch with -pi less arg les-equals pi.
|
|
Mod ( ) : double |
Modulus of this Complex number (the distance from the origin in polar coordinates).
|
|
Sin ( ) : |
Sine of this Complex number (doesn't change this Complex number). sin(z) = (exp(i*z)-exp(-i*z))/(2*i).
|
|
Sinh ( ) : |
Hyperbolic sine of this Complex number (doesn't change this Complex number). sinh(z) = (exp(z)-exp(-z))/2.
|
|
Sqrt ( ) : |
Complex square root (doesn't change this complex number). Computes the principal branch of the square root, which is the value with 0 less equals arg less pi.
|
|
Tan ( ) : |
Tangent of this Complex number (doesn't change this Complex number).
|
|
ToString ( ) : String | ||
operator ( ) : |
Addition of Complex numbers (doesn't change this Complex number). (x+i*y) + (s+i*t) = (x+s)+i*(y+t)
|
메소드 | 설명 | |
---|---|---|
Cosh ( double theta ) : double |
Real cosh function (used to compute complex trig functions).
|
|
Sinh ( double theta ) : double |
Real sinh function (used to compute complex trig functions).
|
public ComplexNumber ( |
||
other | The other complex number. | |
리턴 | System |
public ComplexNumber ( double u, double v ) : System | ||
u | double | Real part |
v | double | Imaginary part |
리턴 | System |