installAssignmentMethod(op,X,Y,f)
If the operator is a unary operator, just omit X and its comma.
We illustrate this function by defining a type of mutable list whose elements can be both extracted and replaced using the operator _. We also install a method for net so objects of the class can be printed.
|
|
|
|
|
|
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/installAssignmentMethod-doc.m2:41:0.