Tuple SΒΆ

array1.spad line 67

This domain is used to interface with the interpreter's notion of comma-delimited sequences of values.

#: % -> NonNegativeInteger
\#(x) returns the number of elements in tuple x
=: (%, %) -> Boolean if S has SetCategory
from BasicType
~=: (%, %) -> Boolean if S has SetCategory
from BasicType
coerce: % -> OutputForm if S has CoercibleTo OutputForm
from CoercibleTo OutputForm
coerce: % -> PrimitiveArray S
from CoercibleTo PrimitiveArray S
coerce: PrimitiveArray S -> %
coerce(a) makes a tuple from primitive array a
hash: % -> SingleInteger if S has SetCategory
from SetCategory
hashUpdate!: (HashState, %) -> HashState if S has SetCategory
from SetCategory
latex: % -> String if S has SetCategory
from SetCategory
select: (%, NonNegativeInteger) -> S
select(x, n) returns the n-th element of tuple x. tuples are 0-based

BasicType if S has SetCategory

CoercibleTo OutputForm if S has CoercibleTo OutputForm

CoercibleTo PrimitiveArray S

SetCategory if S has SetCategory