Changeset 5d8e33 in git for Singular/LIB/elim.lib


Ignore:
Timestamp:
Sep 18, 2018, 1:31:08 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '73c62e0961bcfc8f1a00420b41eec2ea3c0ef6e9')
Children:
61f5c3f021c7740ff9d3ee6caa28688131dbc792
Parents:
14219d93b6658fbdcbbf8e3830b34ab82f20e67c
Message:
fix: eliminate in qring: elim: doc, elim1: error message
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/elim.lib

    r14219d9 r5d8e33  
    403403RETURN: ideal/module obtained from id by eliminating either the variables
    404404        with indices appearing in v or the variables appearing in p.
    405         Works also in a qring.
     405        Does not work in a qring.
    406406METHOD: elim uses elimRing to create a ring with an elimination ordering for
    407407        the variables to be eliminated and then applies std if \"std\"
     
    622622{
    623623   def br = basering;
    624    if ( size(ideal(br)) != 0 )
    625    {
    626       ERROR ("elim1 cannot eliminate in a qring");
     624   if (isQuotientRing(br))
     625   {
     626      ERROR ("elim1 cannot eliminate in a qring, use eliminate");
    627627   }
    628628//------------- create product vars of variables to be eliminated -------------
Note: See TracChangeset for help on using the changeset viewer.