projects
/
LeanCalc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git]
/
help
/
matdim
1
NAME
2
matdim - matrix dimension
3
4
SYNOPSIS
5
matdim(m)
6
7
TYPES
8
m matrix
9
10
return 1, 2, 3, or 4
11
12
DESCRIPTION
13
Returns the number of indices required to specify elements of the matrix.
14
15
EXAMPLE
16
> mat A[3]; mat B[2,3]; mat C[1, 2:3, 4]; mat D[2, 3, 4, 5]
17
> print matdim(A), matdim(B), matdim(C), matdim(D)
18
1 2 3 4
19
20
LIMITS
21
none
22
23
LINK LIBRARY
24
none
25
26
SEE ALSO
27
XXX - fill in
28