Naming Conventions

Scalar

Vector

Matrix

Any
rank

Non-
scalar

Boolean

BS

BV

BM

BA

BN

Integer

IS

IV

IM

IA

IN

Float

FS

FV

FM

FA

FN

Numeric

NS

NV

NM

NA

NN

Character

CS

CV

CM

CA

CN

Enclosed
vector

ES

EV

EM

EA

EN

enclosed
Text vector

TS

TV

TM

TA

TN

Simple

SS

SV

SM

SA

SN

Any

AS

AV

AM

AA

AN

phrase e.g.: .X...Y. ⍝ X←BS; Y←IV

combinations: use ISV for Integer scalarvector

B3, I4 &c. to specify higher ranks.

Open full technical reference

Phrasebook/TestPage

Note that this page exists in order to test the automated tests of both, examples and test cases on all pages of the PhraseBook project. For that reason this page contains buggy examples and buggy test cases.

Note that you can check the examples and tests on this page by clicking the "Test my code" link at the bottom, but that this page is explicitly excluded when the PhraseBook/TestReport page is created.

      +/

Examples

      ⎕FX⊃'r←Sum na' 'r←+/na'
      Display ,Sum 1 2 3
┌→┐
│6│
└~┘
      Display Sum 1 2 3
6
      Display Sum 2 3 4⍴⍳24
6

Test Cases

Show test cases

Test
 ⎕IO←0      ⍝ You may change this; however, zero IS the default in the Phrasebook
⍝⎕ML←3      ⍝ Enable this line in Dyalog APL if appropriate
 ⎕FX'r←Sum na' 'r←+/na'
⍝ ---- Start Test cases (do not delete this!)
 1 ≡ Sum 1 2 3
 1 ≡ Sum 1 
 0 ≡ Sum ⍳0

For details see the Phrasebook/TestCasesGuidelines.

Test my code

Mentor: KaiJaeger


(don't add this page to any category!)

Phrasebook/TestPage (last edited 2010-11-30 19:27:16 by KaiJaeger)