Naming Conventions

Expected "=" to follow ";"
Expected "=" to follow ";"

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

b3, i4 &c. to specify higher ranks.

see GlossaryOfAplTerms for any of the above terms you don't understand.

Understanding Rank

If you are not exactly on old-hand in APL you might find the following remarks helpful:

rank = 0

A scalar; An array without any dimension has a rank of zero:

      ⍴⍴0
0
      ⍴⍴'a'
0
      ⍴⍴⊂'these' 'text' 'strings'
0

Rank = 1

A vector; Has exactly one dimension:

      ⍴⍴,0
1
      ⍴⍴1 2 3
1
      ⍴⍴,'a'
1
      ⍴⍴'abc'
1
      ⍴⍴0 'one' 2 'three'
1

Rank = 2

A matrix: An array with two dimensions:

      ⍴⍴2 3⍴4
2
      ⍴⍴2 2⍴'abcd'
2
      ⍴⍴'abc'∘.,0 1 2
2

see :GlossaryOfAplTerms


CategoryPhraseBookBackground

PhraseBook/NamingConventions (last edited 2011-03-11 12:19:37 by KaiJaeger)