Reference SΒΆ

boolean.spad line 1

Reference is for making a changeable instance of something.

=: (%, %) -> Boolean
a=b tests if a and b are equal.
~=: (%, %) -> Boolean if S has SetCategory
from BasicType
coerce: % -> OutputForm if S has SetCategory
from CoercibleTo OutputForm
deref: % -> S
deref(n) is equivalent to elt(n).
elt: % -> S
elt(n) returns the object n.
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
ref: S -> %
ref(n) creates a pointer (reference) to the object n.
setelt!: (%, S) -> S
setelt!(n, m) changes the value of the object n to m.
setref: (%, S) -> S
setref(n, m) same as setelt!(n, m).

BasicType if S has SetCategory

CoercibleTo OutputForm if S has SetCategory

SetCategory if S has SetCategory