Top
Back: D.8.1 graphics_lib
Forward: D.8.1.2 mathinit
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.8.1 graphics_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.8.1.1 staircase

Procedure from library graphics.lib (see graphics_lib).

Usage:

staircase(s,I); s a string, I ideal in two variables

Return:

string with Mathematica input for displaying staircase diagrams of an ideal I, i.e. exponent vectors of the initial ideal of I

Note:

ideal I should be given by a standard basis. Let s="" and copy and paste the result into a Mathematica notebook.

Example:

 
LIB "graphics.lib";
ring r0 = 0,(x,y),ls;
ideal I = -1x2y6-1x4y2, 7x6y5+1/2x7y4+6x4y6;
staircase("",std(I));
ring r1 = 0,(x,y),dp;
ideal I = fetch(r0,I);
staircase("",std(I));
ring r2 = 0,(x,y),wp(2,3);
ideal I = fetch(r0,I);
staircase("",std(I));
// Paste the output into a Mathematica notebook
// active evalutation of the cell with SHIFT RETURN

Top Back: D.8.1 graphics_lib Forward: D.8.1.2 mathinit FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.8.1 graphics_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.