next | previous | forward | backward | up | top | index | toc | Macaulay2 website
MultiplicitySequence :: jMult

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.0159926 seconds elapsed

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

o4 = 2
i5 : elapsedTime multiplicitySequence I
 -- 0.132267 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.