Changeset 64c6d1 in git for Singular/LIB


Ignore:
Timestamp:
Jun 3, 1998, 12:04:30 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
88e48a8bf8bdcee21c6f8cc76efb29c06ce04a7b
Parents:
b9d3335d3643e630740a082ced8fc9b82bc915e2
Message:
* new file/dir layout of LIBs, bin, doc:
  LIB stays in-place, (new)doc moves to root, tests is removed
* LIB loading with "~"
* SearchPath is dynamically determined (see febase.cc)
* info prog is searched for in bindir
* correct handling of .singurlarrc
* env variable SINGULARHIST is used for determining history-file
* res always returns resolution
* configure is more robust (i.e., complains earlier if something is
  wrong)


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    rb9d333 r64c6d1  
    1 // $Id: standard.lib,v 1.17 1998-05-29 15:02:02 Singular Exp $
     1// $Id: standard.lib,v 1.18 1998-06-03 10:04:26 obachman Exp $
    22//////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: standard.lib,v 1.17 1998-05-29 15:02:02 Singular Exp $";
     4version="$Id: standard.lib,v 1.18 1998-06-03 10:04:26 obachman Exp $";
    55info="
    66LIBRARY: standard.lib   PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP
     
    387387{
    388388   def P=basering;
    389    list result;
    390389   def m=#[1]; //the ideal or module
    391390
     
    413412      list re=mres(m,i);
    414413      setring P;
    415       result=imap(Phelp,re);
     414      resolution result=imap(Phelp,re);
    416415      return(result);
    417416   }
     
    427426      list re=sres(m,i);
    428427      setring P;
    429       result=imap(Phelp,re);
     428      resolution result=imap(Phelp,re);
    430429      return(result);
    431430   }
     
    438437   list re=mres(m,i);
    439438   setring P;
    440    result=imap(Phelp,re);
     439   resolution result=imap(Phelp,re);
    441440   return(result);
    442441}
    443442
    444 proc minresu(list #)
    445 {
    446    return(res(#[1],#[2],1));
    447 }
     443/*
     444proc minres(list #)
     445{
     446  if (size(#) == 2)
     447  {
     448    if (typeof(#[1]) == "ideal" || typeof(#[1]) == "module")
     449    {
     450      if (typeof(#[2] == "int"))
     451      {
     452        return (res(#[1],#[2],1));
     453      }
     454    }
     455  }
     456 
     457  if (typeof(#[1]) == "resolution")
     458  {
     459    return minimizeres(#[1]);
     460  }
     461  else
     462  {
     463    return minimizeres(#);
     464  }
     465 
     466}
     467
     468*/
Note: See TracChangeset for help on using the changeset viewer.