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

clearInfrastructureCaches -- Invalidate saved calculations without changing the mathematical objects

Description

This function takes no arguments and returns null. It clears the shared affine results, invalidates the Cartan-datum, weight-display, Kazhdan–Lusztig, crystal, and Verma partition results on their respective objects, and starts the counts over. An object still in use replaces its old table on its next lookup. Existing root data, characters, modules, and crystals remain valid; later calculations compute any required results again. The separate finite-representation and root-snapshot tables have their own clearing commands.

i1 : D = rootDatum "A1";
i2 : C = finiteCharacter(D,{2});
i3 : clearInfrastructureCaches();
i4 : (characterDimension C,C == finiteCharacter(D,{2}))

o4 = (3, true)

o4 : Sequence

The pair $(3,true)$ confirms that clearing retained computations does not alter the three-dimensional character or its weight coefficients.

See also

For the programmer

The object clearInfrastructureCaches 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:17995:0.