File: gbSnapshot-doc.m2

package info (click to toggle)
macaulay2 1.25.05%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 172,152 kB
  • sloc: cpp: 107,824; ansic: 16,193; javascript: 4,189; makefile: 3,899; lisp: 702; yacc: 604; sh: 476; xml: 177; perl: 114; lex: 65; python: 33
file content (29 lines) | stat: -rw-r--r-- 904 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- -*- coding: utf-8 -*-
--- status: Draft
--- author(s): MES
--- notes: 

document { 
     Key => {gbSnapshot,
	  (gbSnapshot,Ideal),
	  (gbSnapshot,Matrix),
	  (gbSnapshot,Module)},
     Headline => "the Gröbner basis matrix as so far computed",
     Usage => "gbSnapshot M",
     Inputs => { "M" => {ofClass{Ideal,Matrix,Module}}},
     Outputs => { Matrix => "the Gröbner basis as so far computed"},
     "This routine is useful to be able to obtain
     partial results from a partially computed Gröbner basis.
     Little computation is done (although a minimalization, auto-reduction and
     sort is performed).  ",
     EXAMPLE lines ///
     	  R = ZZ/101[a..d]
	  I = intersect((ideal(a,b,c^3-d^3))^2,ideal(a^2-c^2,b^2-d^2))
	  gb(I, BasisElementLimit=>5)
	  gbSnapshot I
	  gb(I, BasisElementLimit=>10)
	  gbSnapshot I
	  gens gb I
	  ///,
     SeeAlso =>{ gb, "gbTrace", gbRemove}
     }