Changeset 9336f0 in git


Ignore:
Timestamp:
Feb 25, 2021, 12:26:18 AM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
a66051a7307d930c5cb98adc31f8b195b0cceac0
Parents:
d7bf543f0dc833e2899680cb0e5b7a4b7fff18f5
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2021-02-25 00:26:18+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2021-02-25 00:26:52+01:00
Message:
add modStdL to modstd.lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/modstd.lib

    rd7bf54 r9336f0  
    913913*/
    914914
     915proc modStdL(def I, list #)
     916{
     917  link l="ssi:tcp localhost:"+system("Singular");
     918  write(l,quote(option(noloadLib))); // suppress "loaded..."
     919  read(l); //dummy
     920  write(l,quote(load("modstd.lib","with"))); // load library
     921  read(l); //dummy
     922  if (size(#)==0)
     923  {
     924    write(l,quote(modStd(eval(I))));
     925  }
     926  else
     927  {
     928    write(l,quote(modStd(eval(I),eval(#[1]))));
     929  }
     930  return(read(l));
     931}
Note: See TracChangeset for help on using the changeset viewer.