ThreeDimensionalMatrix(R)

fortran.spad line 948 [edit on github]

This domain represents three dimensional matrices over a general object type

= : (%, %) -> Boolean
from BasicType
coerce : PrimitiveArray(PrimitiveArray(PrimitiveArray(R))) -> %

coerce(p) moves from the representation type (PrimitiveArray PrimitiveArray PrimitiveArray R) to the domain

coerce : % -> OutputForm
from CoercibleTo(OutputForm)
coerce : % -> PrimitiveArray(PrimitiveArray(PrimitiveArray(R)))

coerce(x) moves from the domain to the representation type

construct : List(List(List(R))) -> %

construct(lll) creates a 3-D matrix from a List List List R lll

copy : % -> %
from Aggregate
elt : (%, NonNegativeInteger, NonNegativeInteger, NonNegativeInteger) -> R

elt(x, i, j, k) extract an element from the matrix x

empty : () -> %
from Aggregate
empty? : % -> Boolean
from Aggregate
eq? : (%, %) -> Boolean
from Aggregate
eval : (%, R, R) -> % if R has Evalable(R)
from InnerEvalable(R, R)
eval : (%, Equation(R)) -> % if R has Evalable(R)
from Evalable(R)
eval : (%, List(R), List(R)) -> % if R has Evalable(R)
from InnerEvalable(R, R)
eval : (%, List(Equation(R))) -> % if R has Evalable(R)
from Evalable(R)
identityMatrix : NonNegativeInteger -> % if R has Ring

identityMatrix(n) create an identity matrix we note that this must be square

latex : % -> String
from SetCategory
less? : (%, NonNegativeInteger) -> Boolean
from Aggregate
map : (Mapping(R, R), %) -> %
from HomogeneousAggregate(R)
matrixConcat3D : (Symbol, %, %) -> %

matrixConcat3D(s, x, y) concatenates two 3-D matrices along a specified axis

matrixDimensions : % -> Vector(NonNegativeInteger)

matrixDimensions(x) returns the dimensions of a matrix

max : % -> R if % has finiteAggregate and R has OrderedSet
from HomogeneousAggregate(R)
min : % -> R if % has finiteAggregate and R has OrderedSet
from HomogeneousAggregate(R)
more? : (%, NonNegativeInteger) -> Boolean
from Aggregate
plus : (%, %) -> % if R has Ring

plus(x, y) adds two matrices, term by term we note that they must be the same size

sample : () -> %
from Aggregate
setelt! : (%, NonNegativeInteger, NonNegativeInteger, NonNegativeInteger, R) -> R

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

size? : (%, NonNegativeInteger) -> Boolean
from Aggregate
zeroMatrix : (NonNegativeInteger, NonNegativeInteger, NonNegativeInteger) -> % if R has Ring

zeroMatrix(i, j, k) create a matrix with all zero terms

~= : (%, %) -> Boolean
from BasicType

HomogeneousAggregate(R)

BasicType

CoercibleTo(OutputForm)

SetCategory

Evalable(R)

InnerEvalable(R, R)

Aggregate