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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 1: Introduction 20Function Assignment & DisplayThe result of a function-expression may be given a name. This is known as FUNC-TION ASSIGNMENT (see also "Dynamic Functions & Operators" on page 112). Ifthe result of a function-expression is not given a name, its value is displayed. This istermed FUNCTION DISPLAY.Examples++/PLUS←+PLUSSUM←+/SUMFunction expressions may include defined functions and operators. These are displayedas a ∇ followed by their name.Example∇ R←MEAN X[1] R←(+/X)÷⍴X∇⍝ Arithmetic meanMEAN∇MEANAVERAGE←MEANAVERAGE∇MEANAVG←MEAN∘,AVG∇MEAN ∘,

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

Saved successfully!

Ooh no, something went wrong!