Mercurial > hg > may
changeset 199:054855112a1c
ah, this cast is needed here
author | Chris Cannam |
---|---|
date | Mon, 06 May 2013 16:56:04 +0100 |
parents | 0b187d845491 |
children | 12818af285cc |
files | yetilab/block/complex.yeti |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/yetilab/block/complex.yeti Mon May 06 16:53:49 2013 +0100 +++ b/yetilab/block/complex.yeti Mon May 06 16:56:04 2013 +0100 @@ -74,6 +74,17 @@ bl.fromList (map angle cc); { + real, + imaginary, + complex, + magnitude, + angle, + add, + scale, + zeros, + magnitudes, + angles, +} as { real is cplx -> number, imaginary is cplx -> number, complex is number -> number -> cplx,