fortran.spad line 948 [edit on github]
This domain represents three dimensional matrices over a general object type
coerce(p)
moves from the representation type (PrimitiveArray PrimitiveArray PrimitiveArray R
) to the domain
coerce(x)
moves from the domain to the representation type
construct(lll)
creates a 3-D
matrix from a List List List R
lll
elt(x, i, j, k)
extract an element from the matrix x
identityMatrix(n)
create an identity matrix we note that this must be square
matrixConcat3D(s, x, y)
concatenates two 3-D
matrices along a specified axis
matrixDimensions(x)
returns the dimensions of a matrix
plus(x, y)
adds two matrices, term by term we note that they must be the same size
setelt!(x, i, j, k, s)
(or x
.i
.j
.k
:=
s
) sets a specific element of the array to some value of type R
zeroMatrix(i, j, k)
create a matrix with all zero terms
Evalable(R)
InnerEvalable(R, R)