7.2 Types, Predicates and Accessors
syntax
(Matrix A)
Examples: | ||||||||||||
|
procedure
(row-matrix? arr) → Boolean
arr : (Array A)
procedure
(col-matrix? arr) → Boolean
arr : (Array A)
procedure
(square-matrix? arr) → Boolean
arr : (Array A)
procedure
(matrix-shape M) → (Values Index Index)
M : (Matrix A)
Examples: | |||||||||||||||
|
procedure
(matrix-num-rows M) → Index
M : (Matrix A)
procedure
(matrix-num-cols M) → Index
M : (Matrix A)
procedure
(square-matrix-size M) → Index
M : (Matrix A)
Examples: | ||||||||
|