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

representationCacheInfo -- Count previously computed character and tensor-product tables

Description

Reports how many previously computed tables are retained for the Cartan matrix. Tables are retained after computations with weightMultiplicityTable, weightMultiplicity, and the tensor-product commands. Later calculations with the same Cartan matrix reuse these tables. A full multiplicity table has one entry per distinct weight, so large representations may require substantial space. Use clearRepresentationCache to discard previously computed tables when they are no longer needed.

i1 : A = cartanA 3;

              2       2
o1 : Matrix ZZ  <-- ZZ
i2 : representationCacheInfo A

o2 = HashTable{"multiplicityTables" => 0}
               "tensorProducts" => 0
               "weightSets" => 0

o2 : HashTable
i3 : weightMultiplicityTable(A, {1,1});
i4 : representationCacheInfo A

o4 = HashTable{"multiplicityTables" => 1}
               "tensorProducts" => 0
               "weightSets" => 1

o4 : HashTable

After computing the adjoint weight table, the saved-table count records that this highest weight has been computed. The table lets a later call reuse the same multiplicities. It is information about retained calculations, rather than an invariant of the $\mathfrak{sl}_3$ adjoint representation.

See also

Ways to use representationCacheInfo:

  • representationCacheInfo(Matrix)

For the programmer

The object representationCacheInfo 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:2219:0.