Macaulay2 » Documentation
Packages » KacMoody » Command reference » clearAffineStructureCache
next | previous | forward | backward | up | index | toc

clearAffineStructureCache -- Discard saved affine invariants

Description

This function takes no arguments and returns null. Only saved affine structural results are cleared. Matrices, root data, weights, and characters already constructed remain unchanged; subsequent affine invariant calculations recompute the information.

i1 : A = cartanAffineA 1;

              2       2
o1 : Matrix ZZ  <-- ZZ
i2 : a = affineMarks A;
i3 : clearAffineStructureCache();
i4 : H = affineStructureCacheInfo();
i5 : (H#"marks",affineMarks A == a)

o5 = (0, true)

o5 : Sequence

The pair $(0,true)$ says that the saved marks were removed, and that recomputing them gives the same mathematical answer. Here the marks are $(1,1)$, the coefficients of the null root in the simple-root basis.

See also

For the programmer

The object clearAffineStructureCache is a function closure.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:18055:0.