Changeset f999689 in git for Singular/LIB/presolve.lib


Ignore:
Timestamp:
Jan 26, 2015, 12:43:16 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
1386125efea2b96cc1b1eb9c36caa5004c0f47f6766ae30cf1b9a4f004ee11825797b33b8798ae39
Parents:
97a7da2750245efc953ff12aad2e56a4bff4374e
Message:
chnaged: Presolve::findvars: see variables
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/presolve.lib

    r97a7da2 rf999689  
    11////////////////////////////////////////////////////////////////////////////
    2 version="version presolve.lib 4.0.0.0 Jun_2013 "; // $Id$
     2version="version presolve.lib 4.0.1.2 Jan_2015 "; // $Id$
    33category="Symbolic-numerical solving";
    44info="
     
    1212 elimpartanyr(i,p);     factors of p partially eliminated from i in any ring
    1313 fastelim(i,p[..]);     fast elimination of factors of p from i [options]
    14  findvars(id[..]);      ideal of variables occuring in id [more information]
     14 findvars(id);          variables occuring/not occurring  in id
    1515 hilbvec(id[,c,o]);     intvec of Hilberseries of id [in char c and ord o]
    1616 linearpart(id);        elements of id of total degree <=1
     
    837837
    838838proc findvars(def id, list #)
    839 "USAGE:   findvars(id [,any] ); id=poly/ideal/vector/module/matrix, any=any type
    840 RETURN:  if no second argument is present: ideal of variables occuring in id,@*
    841          if a second argument is given (of any type): list L with 4 entries:
     839"USAGE:   findvars(id ); id=poly/ideal/vector/module/matrix
     840RETURN:  list L with 4 entries:
    842841  @format
    843842  L[1]: ideal of variables occuring in id
     
    846845  L[4]: intvec of variables not occuring in id
    847846  @end format
     847SEE ALSO: variables
    848848EXAMPLE: example findvars; shows an example
    849849"
     
    873873   if ( size(f)>1 ) { f = f[2..size(f)]; }      //intvec of found vars
    874874   if ( size(nf)>1 ) { nf = nf[2..size(nf)]; }  //intvec of vars not found
    875    if( size(#)==0 )  { return(found); }
    876    if( size(#)!=0 )  { list L = found,f,notfound,nf; return(L); }
     875   list L = found,f,notfound,nf; return(L);
    877876}
    878877example
     
    881880   ideal i = w2+f2-1, x2+t2+a2-1;
    882881   findvars(i);
    883    findvars(i,1);
    884882}
    885883///////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.