Macaulay2 » Documentation
Packages » MultiplicitySequence :: jMult
next | previous | forward | backward | up | index | toc

jMult -- the j-multiplicity of an ideal

Synopsis

Description

Given an ideal I, this function computes the j-multiplicity of I following the method of Nishida-Ulrich.

i1 : R = QQ[x,y,z]

o1 = R

o1 : PolynomialRing
i2 : I = ideal"xy,yz,zx"

o2 = ideal (x*y, y*z, x*z)

o2 : Ideal of R
i3 : elapsedTime jMult I
 -- 0.0481903 seconds elapsed

o3 = 2
i4 : elapsedTime monjMult I
 -- 0.504099 seconds elapsed

o4 = 2
i5 : elapsedTime multiplicitySequence I
 -- 0.342918 seconds elapsed

o5 = HashTable{2 => 3}
               3 => 2

o5 : HashTable

See also

Ways to use jMult :

For the programmer

The object jMult is a method function.