Naming Conventions
| Expected "=" to follow ";" Naming Conventions |
|||||
scalar |
vector |
matrix |
any |
non- |
|
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 |
es |
ev |
em |
ea |
en |
enclosed |
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
2see :GlossaryOfAplTerms
APL Wiki