Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > operators > _=
next | previous | forward | backward | up | index | toc

_= -- augmented assignment for _

Synopsis

Description

In most cases, x _= y is equivalent to x = x _ y, unless a method is installed for the class of x.

See also

Ways to use symbol _= :

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 a method for handling such expressions with code such as

         X _= (x,y) -> ...

where X is the class of x.