Home Online Manual
Top
Back: fpadim_lib
Forward: lpKDim
FastBack:
FastForward:
Up: fpadim_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.7.7.0. lpMis2Dim
Procedure from library fpadim.lib (see fpadim_lib).

Usage:
lpMis2Dim(M); M an ideal

Return:
int, the K-dimension of the factor algebra

Purpose:
Computing the K-dimension out of given mistletoes

Assume:
- basering is a Letterplace ring.
- M contains only monomials

Note:
- The mistletoes have to be ordered lexicographically -> OrdMisLex.

Example:
 
LIB "fpadim.lib";
ring r = 0,(x,y),dp;
def R = makeLetterplaceRing(5); // constructs a Letterplace ring
setring R; // sets basering to Letterplace ring
ideal L = x(1)*y(2),y(1)*x(2)*y(3);
// ideal containing the mistletoes
lpMis2Dim(L); // returns the K-dimension of the factor algebra
==> 6