Macaulay2 » Documentation
Packages » SchurRings :: jacobiTrudi(...,Memoize=>...)
next | previous | forward | backward | up | index | toc

jacobiTrudi(...,Memoize=>...) -- Store values of the jacobiTrudi function.

Description

If the option is set to true then all the values of the jacobiTrudi function that are computed are recorded into a special hash table attached to the symmetric ring inside which the computations are done. This makes repeated evaluations on related partitions substantially faster, at the cost of some extra memory in the ring.

i1 : R = symmetricRing(QQ,6);
i2 : jacobiTrudi({4,3,2,1},R,Memoize => true) == jacobiTrudi({4,3,2,1},R,Memoize => false)

o2 = true
i3 : elapsedTime jacobiTrudi({5,4,3,2,1},R,Memoize => true);
 -- .000425737s elapsed
i4 : elapsedTime jacobiTrudi({5,4,3,2,1},R,Memoize => true);
 -- .000014166s elapsed
i5 : elapsedTime jacobiTrudi({5,4,3,2,1},R,Memoize => false);
 -- .00036272s elapsed

Functions with optional argument named Memoize:

Further information

  • Default value: true
  • Function: jacobiTrudi -- Jacobi-Trudi determinant
  • Option key: Memoize -- Option to record values of the jacobiTrudi function

The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/SchurRings.m2:6179:0.