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

clearRootSnapshotCache -- Discard retained affine and indefinite root calculations

Description

Discards previously retained root calculations for A. Existing RootSnapshot values remain valid, and saved finite-representation calculations are unaffected.

i1 : A = matrix{{2,-3},{-3,2}};

              2       2
o1 : Matrix ZZ  <-- ZZ
i2 : S = rootSnapshot(A,4);
i3 : clearRootSnapshotCache A
i4 : rootMultiplicity(S,{1,1})

o4 = 1

The multiplicity remains $1$: the previously constructed snapshot still represents the same positive-root spaces. Clearing saved calculations does not invalidate an existing snapshot.

See also

Ways to use clearRootSnapshotCache:

  • clearRootSnapshotCache(Matrix)

For the programmer

The object clearRootSnapshotCache is a method function.


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