IndexedVariables ls

misc.spad line 1 [edit on github]

IndexedVariables(ls) implements variables which have names bases on symbols from list ls with number appended. This is useful in case when one needs several groups of variables with variables within groups distinguished by appended number. Note: if symbol names differ only in trailing digits one can create elements of this domain which print the same, but are considered as distinct variables.

<=: (%, %) -> Boolean

from PartialOrder

<: (%, %) -> Boolean

from PartialOrder

=: (%, %) -> Boolean

from BasicType

>=: (%, %) -> Boolean

from PartialOrder

>: (%, %) -> Boolean

from PartialOrder

~=: (%, %) -> Boolean

from BasicType

coerce: % -> OutputForm

from CoercibleTo OutputForm

latex: % -> String

from SetCategory

max: (%, %) -> %

from OrderedSet

min: (%, %) -> %

from OrderedSet

smaller?: (%, %) -> Boolean

from ComparableRepresentation

variable: (Symbol, Integer) -> Union(%, failed)

variable(s, n) creates variable with name s and suffix n.

BasicType

CoercibleTo OutputForm

Comparable

ComparableRepresentation

OrderedSet

PartialOrder

SetCategory