Changeset 6396811 in git


Ignore:
Timestamp:
Feb 4, 2007, 12:37:35 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
9d963d1214d7ce4074d080698dd5f8e8015045bd
Parents:
83783ebb580d5bc290e32bc3e46524ca07777ce8
Message:
*hannes: groebner(ideal/module)


git-svn-id: file:///usr/local/Singular/svn/trunk@9811 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    r83783eb r6396811  
    22//major revision Jan/Feb. 2007, GMG
    33//////////////////////////////////////////////////////////////////////////////
    4 version="$Id: standard.lib,v 1.86 2007-02-03 14:11:52 Singular Exp $";
     4version="$Id: standard.lib,v 1.87 2007-02-04 11:37:35 Singular Exp $";
    55category="Miscellaneous";
    66info="
     
    712712
    713713//////////////////////////////////////////////////////////////////////////////
    714 proc groebner(def i, list #)
     714proc groebner(def i_par, list #)
    715715"SYNTAX: @code{groebner (} ideal_expression @code{)} @*
    716716         @code{groebner (} module_expression @code{)} @*
     
    792792
    793793  def P=basering;
     794  if ((typeof(i_par)=="vector")||(typeof(i_par)=="module")) {module i=i_par;}
     795  else {ideal i=i_par; }
     796  kill i_par;
    794797//----------------------- save the given method ---------------------------
    795798  string method;
     
    10371040     if ( algorithm=="std" || (algorithm=="stdorslimgb" && char(P)>0) )
    10381041     {
    1039            if (p_opt) { "std in " + string(P); }
    1040            i = std(i);
    1041            return(i);
     1042       if (p_opt) { "std in " + string(P); }
     1043       return(std(i));
    10421044     }
    10431045     if ( algorithm=="slimgb" || (algorithm=="stdorslimgb" && char(P)==0) )
    10441046     {
    1045            i = qslimgb(i);
    1046            return(i);
     1047       return(qslimgb(i));
    10471048     }
    10481049  }
Note: See TracChangeset for help on using the changeset viewer.