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);
 -- .000483326s elapsed
i4 : elapsedTime jacobiTrudi({5,4,3,2,1},R,Memoize => true);
 -- .00001888s elapsed
i5 : elapsedTime jacobiTrudi({5,4,3,2,1},R,Memoize => false);
 -- .000424726s 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 SchurRings.m2:6179:0.