Name

complex-from-polar-coordinates

Usage

builtin-function

Syntax

(complex-from-polar-coordinates m ph)

Description

Returns a complex number with magnitude m and phase ph.

user 1 > (let a (complex-from-polar-coordinates 1 (/ math:PI 4)))
it: #c(0.707106781186548 0.707106781186547)
user 2 > (* a a)
it: #c(2.22044604925031E-16 1)