jan tolenaar / kiezellisp / index-of-everything

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.

make-html > (let a (complex-from-polar-coordinates 1 (/ math:PI 4)))
it: a
make-html > (* a a)
it: #c(2.220446049250313E-16 1)