next
|
previous
|
forward
|
backward
|
up
|
top
|
index
|
toc
|
home
Macaulay2
>
The Macaulay2 language
>
operators
>
_
_ -- a binary operator, used for subscripting and access to elements
Ways to use
_
:
ChainComplex _ ZZ
-- component
GradedModule _ ZZ, see
ChainComplex _ ZZ
-- component
ChainComplex _ ZZ = Thing
-- missing documentation
ChainComplexMap _ Array
-- missing documentation
ChainComplexMap _ ZZ
-- component map
GradedModuleMap _ ZZ, see
ChainComplexMap _ ZZ
-- component map
ChainComplexMap _ ZZ = Thing
-- missing documentation
Expression _ Expression, see
Expression
-- the class of all expressions
Function _ Thing
-- missing documentation
Ideal _ ZZ, see
generators of ideals and modules
Module _ ZZ, see
generators of ideals and modules
MonomialIdeal _ ZZ, see
generators of ideals and modules
GradedModuleMap _ Array
-- missing documentation
Holder _ Holder
-- missing documentation
Ideal _ List
-- missing documentation
IndexedVariable _ Ring
-- get a ring variable by name
Matrix _ Array
-- select columns of blocks
Matrix _ List
-- select columns
Matrix _ Sequence
-- missing documentation
Matrix _ ZZ
-- missing documentation
ChainComplex _ Array, see
Module _ Array
-- get inclusion map into direct sum
Module _ Array
-- get inclusion map into direct sum
Module _ List
-- missing documentation
MutableMatrix _ Sequence
-- missing documentation
MutableMatrix _ Sequence = Thing
-- assignment to an element of a mutable matrix
Partition _ ZZ
-- get element
Ring _ IndexedVariable
-- missing documentation
Ring _ List
-- make a monomial from a list of exponents
Ring _ String
-- get a ring variable by name
Ring _ Symbol
-- missing documentation
Ring _ ZZ
-- get a ring variable by index
ScriptedFunctor _ Thing
-- missing documentation
String _ Sequence
-- substring
String _ ZZ
-- get element from string
RingElement _ Ring, see
Symbol _ Ring
-- get a ring variable by name
Symbol _ Ring
-- get a ring variable by name
Symbol _ Thing
-- missing documentation
Symbol _ Thing = Thing
-- assignment to an indexed variable
Tally _ Thing
-- get a count from a tally
VisibleList _ List
-- get some entries of a list
VisibleList _ ZZ
-- get element from list
ZZ _ Module
-- missing documentation
ZZ _ Ring
-- missing documentation
For the programmer
The object
_
is
a
keyword
.
This operator may be used as a binary operator in an expression like
x_y
. The user may install
binary methods
for handling such expressions with code such as
X _ Y := (x,y) -> ...
where
X
is the class of
x
and
Y
is the class of
y
.