Reference SΒΆ
boolean.spad line 1 [edit on github]
S: Type
Reference is for making a changeable instance of something.
- =: (%, %) -> Boolean
a=btests ifaandbare the same pointer/reference.
- ~=: (%, %) -> Boolean if S has SetCategory
from BasicType
- coerce: % -> OutputForm if S has SetCategory
from CoercibleTo OutputForm
- deref: % -> S
deref(n)is equivalent toelt(n).
- elt: % -> S
elt(n)returns the objectn.
- latex: % -> String if S has SetCategory
from SetCategory
- ref: S -> %
ref(n)creates a pointer (reference) to the objectn.
- setelt!: (%, S) -> S
setelt!(n, m)changes the value of the objectntom.
- setref: (%, S) -> S
setref(n, m)same assetelt!(n, m).
BasicType if S has SetCategory
CoercibleTo OutputForm if S has SetCategory
SetCategory if S has SetCategory