First time here? Check out the FAQ!

Ask Your Question
0

Milnor number calculator

asked 1 year ago

updated 1 year ago

FrédéricC gravatar image

Does anyone know how to calculate the Milnor number of a 4-variable polynomial in SAGE?

I was testing the online version of Singular, developed by the University of Kaiserslautern, but when asking to calculate the Milnor number, it crashes.

Preview: (hide)

Comments

What's your polynomial?

rburing gravatar imagerburing ( 1 year ago )

1 Answer

Sort by » oldest newest most voted
0

answered 1 year ago

FrédéricC gravatar image

Usually, this goes like that

sage: x,y,z = polygens(QQ, 'x,y,z')
sage: P = x**3+y**3+z**3
sage: R = x.parent()
sage: I = R.ideal([P] + [P.derivative(var) for var in R.gens()])
sage: I.dimension()
0
sage: I.vector_space_dimension()
8
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 1 year ago

Seen: 337 times

Last updated: Dec 13 '23