12.07.2015 Views

Programmer's Guide & Language Reference - Dyalog Limited

Programmer's Guide & Language Reference - Dyalog Limited

Programmer's Guide & Language Reference - Dyalog Limited

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1: Introduction 6Complex NumbersComplex numbers use the J notation introduced in IBM APL2 and are written as aJbor ajb (without spaces) where the real and imaginary parts a and b are written asdescribed above. The capital J is always used to display a value.Examples2+¯1*.52J1.3j.50.3J0.51.2E5J¯4E¯4120000J¯0.0004The empty vector (⍳0) may be represented by the numeric constant ⍬ called ZILDE.CharactersCharacters are entered within a pair of APL quotes. The surrounding APL quotes arenot displayed on output. The APL quote character itself must be entered as a pair ofAPL quotes.Examples'DYALOG APL'DYALOG APL'I DON''T KNOW'I DON'T KNOW*'*'

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!