TwoDimensionalArray RΒΆ

array2.spad line 1147 [edit on github]

A TwoDimensionalArray is a two dimensional array with 1-based indexing for both rows and columns.

#: % -> NonNegativeInteger

from Aggregate

=: (%, %) -> Boolean if R has BasicType

from BasicType

~=: (%, %) -> Boolean if R has BasicType

from BasicType

any?: (R -> Boolean, %) -> Boolean

from HomogeneousAggregate R

array2: List List R -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

blockConcat: List List % -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

blockSplit: (%, List NonNegativeInteger, List NonNegativeInteger) -> List List %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

blockSplit: (%, PositiveInteger, PositiveInteger) -> List List %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

coerce: % -> OutputForm if R has CoercibleTo OutputForm

from CoercibleTo OutputForm

colSlice: % -> Segment Integer

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

column: (%, Integer) -> OneDimensionalArray R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

copy: % -> %

from Aggregate

count: (R -> Boolean, %) -> NonNegativeInteger

from HomogeneousAggregate R

count: (R, %) -> NonNegativeInteger if R has BasicType

from HomogeneousAggregate R

elt: (%, Integer, Integer) -> R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, Integer, Integer, R) -> R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, Integer, List Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, Integer, List Segment Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, List Integer, Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, List Integer, List Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, List Integer, Segment Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, List Segment Integer, Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, List Segment Integer, List Segment Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, List Segment Integer, Segment Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, Segment Integer, List Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, Segment Integer, List Segment Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

elt: (%, Segment Integer, Segment Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

empty?: % -> Boolean

from Aggregate

empty: () -> %

from Aggregate

eq?: (%, %) -> Boolean

from Aggregate

eval: (%, Equation R) -> % if R has SetCategory and R has Evalable R

from Evalable R

eval: (%, List Equation R) -> % if R has SetCategory and R has Evalable R

from Evalable R

eval: (%, List R, List R) -> % if R has SetCategory and R has Evalable R

from InnerEvalable(R, R)

eval: (%, R, R) -> % if R has SetCategory and R has Evalable R

from InnerEvalable(R, R)

every?: (R -> Boolean, %) -> Boolean

from HomogeneousAggregate R

fill!: (%, R) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

hash: % -> SingleInteger if R has Hashable

from Hashable

hashUpdate!: (HashState, %) -> HashState if R has Hashable

from Hashable

horizConcat: (%, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

horizConcat: List % -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

horizSplit: (%, List NonNegativeInteger) -> List %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

horizSplit: (%, PositiveInteger) -> List %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

latex: % -> String if R has SetCategory

from SetCategory

less?: (%, NonNegativeInteger) -> Boolean

from Aggregate

listOfLists: % -> List List R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

map!: (R -> R, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

map: ((R, R) -> R, %, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

map: ((R, R) -> R, %, %, R) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

map: (R -> R, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

max: % -> R if R has OrderedSet

from HomogeneousAggregate R

max: ((R, R) -> Boolean, %) -> R

from HomogeneousAggregate R

maxColIndex: % -> Integer

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

maxRowIndex: % -> Integer

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

member?: (R, %) -> Boolean if R has BasicType

from HomogeneousAggregate R

members: % -> List R

from HomogeneousAggregate R

min: % -> R if R has OrderedSet

from HomogeneousAggregate R

minColIndex: % -> Integer

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

minRowIndex: % -> Integer

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

more?: (%, NonNegativeInteger) -> Boolean

from Aggregate

ncols: % -> NonNegativeInteger

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

new: (NonNegativeInteger, NonNegativeInteger, R) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

nrows: % -> NonNegativeInteger

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

parts: % -> List R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

qelt: (%, Integer, Integer) -> R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

qnew: (NonNegativeInteger, NonNegativeInteger) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

qsetelt!: (%, Integer, Integer, R) -> R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

row: (%, Integer) -> OneDimensionalArray R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

rowSlice: % -> Segment Integer

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

sample: %

from Aggregate

setColumn!: (%, Integer, OneDimensionalArray R) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, Integer, Integer, R) -> R

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, Integer, List Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, Integer, List Segment Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, List Integer, Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, List Integer, List Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, List Integer, Segment Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, List Segment Integer, Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, List Segment Integer, List Segment Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, List Segment Integer, Segment Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, Segment Integer, List Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, Segment Integer, List Segment Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setelt!: (%, Segment Integer, Segment Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setRow!: (%, Integer, OneDimensionalArray R) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

setsubMatrix!: (%, Integer, Integer, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

size?: (%, NonNegativeInteger) -> Boolean

from Aggregate

smaller?: (%, %) -> Boolean if R has Comparable

from Comparable

squareTop: % -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

subMatrix: (%, Integer, Integer, Integer, Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

swapColumns!: (%, Integer, Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

swapRows!: (%, Integer, Integer) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

transpose: % -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

vertConcat: (%, %) -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

vertConcat: List % -> %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

vertSplit: (%, List NonNegativeInteger) -> List %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

vertSplit: (%, PositiveInteger) -> List %

from TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)

Aggregate

BasicType if R has BasicType

CoercibleTo OutputForm if R has CoercibleTo OutputForm

Comparable if R has Comparable

Evalable R if R has SetCategory and R has Evalable R

finiteAggregate

Hashable if R has Hashable

HomogeneousAggregate R

InnerEvalable(R, R) if R has SetCategory and R has Evalable R

SetCategory if R has SetCategory

shallowlyMutable

TwoDimensionalArrayCategory(R, OneDimensionalArray R, OneDimensionalArray R)