up
previous
next
EvalHilbertFn
Syntax
EvalHilbertFn(H:TAGGED("$hp.Hilbert"),N:INT):INT
Summary
evaluate the Hilbert function
Description
This function evaluates the Hilbert function H at N. If H is the
Hilbert function of a quotient R/I, then the value returned is the
same as that returned by
Hilbert(R/I,N)
but time is saved since the
Hilbert function does not need to be recalculated at each call.
example
Use R ::= Q[w,x,y,z];
I := Ideal(z^2-xy,xz^2+w^3);
H := Hilbert(R/I);
H;
H(0) = 1
H(1) = 4
H(t) = 6t - 3 for t >= 2
-------------------------------
EvalHilbertFn(H,1);
4
-------------------------------
EvalHilbertFn(H,2);
9
-------------------------------
See Also