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

clearRepresentationCache -- Discard retained character and tensor-product tables

Description

Discards the character and tensor-decomposition tables retained for A. The Cartan matrix and previously computed root tables are unchanged.

i1 : A = cartanA 3;

              2       2
o1 : Matrix ZZ  <-- ZZ
i2 : weightMultiplicityTable(A,{1,1});
i3 : clearRepresentationCache A
i4 : (representationCacheInfo A)#"multiplicityTables"

o4 = 0

Clearing the saved calculation leaves zero retained weight tables for this Cartan matrix. A new computation of the adjoint character will give the same mathematical answer; only the saved result is removed.

See also

Ways to use clearRepresentationCache:

  • clearRepresentationCache(Matrix)

For the programmer

The object clearRepresentationCache 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:2250:0.