Node:Complex,
Next:Arithmetic,
Previous:Conversion,
Up:Numbers
21.2.10 Complex Number Operations
| make-rectangular real imaginary
|
Scheme Procedure |
| scm_make_rectangular (real, imaginary)
|
C Function |
|
Return a complex number constructed of the given real and
imaginary parts.
|
| make-polar x y
|
Scheme Procedure |
| scm_make_polar (x, y)
|
C Function |
|
Return the complex number x * e^(i * y).
|
| real-part
|
Scheme Procedure |
|
Return the real part of the number z.
|
| imag-part
|
Scheme Procedure |
|
Return the imaginary part of the number z.
|
| magnitude
|
Scheme Procedure |
Return the magnitude of the number z. This is the same as
abs for real arguments, but also allows complex numbers.
|
|
Return the angle of the complex number z.
|