Changeset f7bdb8 in git for Singular/LIB


Ignore:
Timestamp:
Jun 18, 1998, 8:15:20 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
475f8be538e59007739f87b8c7a59570ceda0a84
Parents:
f22a086cfc33fa7bf2cfda6b3c231ed4d83a7d1a
Message:
* hannes: more fixes to standard.lib::quotient


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    rf22a08 rf7bdb8  
    1 // $Id: standard.lib,v 1.23 1998-06-18 18:03:19 Singular Exp $
     1// $Id: standard.lib,v 1.24 1998-06-18 18:15:20 Singular Exp $
    22//////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: standard.lib,v 1.23 1998-06-18 18:03:19 Singular Exp $";
     4version="$Id: standard.lib,v 1.24 1998-06-18 18:15:20 Singular Exp $";
    55info="
    66LIBRARY: standard.lib   PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP
     
    460460}
    461461
    462 proc quotient (any m1,any m2,list #)
     462proc quotient (m1,m2,list #)
    463463"USAGE:   quotient(m1, m2[, n]); m1, m2 two submodules of k^s,
    464464         n (optional) integer (1<= n <=5)
     
    469469     or ((typeof(m2)!="ideal") and (typeof(m2)!="module")))
    470470  {
    471     "USAGE:   quot(m1, m2[, n]); m1, m2 two submodules of k^s,";
     471    "USAGE:   quotient(m1, m2[, n]); m1, m2 two submodules of k^s,";
    472472    "         n (optional) integer (1<= n <=5)";
    473473    "RETURN:  the quotient of m1 and m2";
     
    477477  if (typeof(m1)!=typeof(m2))
    478478  {
    479     return quot(m1,m2);
     479    return(quot(m1,m2));
    480480  }
    481481  if (size(#)>0)
     
    483483    if (typeof(#[1])=="int" )
    484484    {
    485       return quot1(m1,m2,#[1]);
     485      return(quot1(m1,m2,#[1]));
    486486    }
    487487  }
    488488  else
    489489  {
    490     return quot1(m1,m2,2);
     490    return(quot1(m1,m2,2));
    491491  }
    492492}
Note: See TracChangeset for help on using the changeset viewer.