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 > (let a (complex-from-polar-coordinates 1 (/ math:PI 4)))
it: a
user > (* a a)
it: #c(2.22044604925031E-16 1)