Changeset 811826 in git
- Timestamp:
- Mar 9, 1999, 1:28:50 PM (25 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- d78e6e2c82ab8bd96284f77386c71eff6908b71a
- Parents:
- 41442f095ba5a5301108857c89ac604ccfdcf0f3
- Location:
- Singular
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/presolve.lib
r41442f r811826 1 // $Id: presolve.lib,v 1. 5 1998-05-14 18:45:12 SingularExp $1 // $Id: presolve.lib,v 1.6 1999-03-09 12:28:50 obachman Exp $ 2 2 //system("random",787422842); 3 3 //(GMG), last modified 97/10/07 by GMG 4 4 /////////////////////////////////////////////////////////////////////////////// 5 5 6 version="$Id: presolve.lib,v 1. 5 1998-05-14 18:45:12 SingularExp $";6 version="$Id: presolve.lib,v 1.6 1999-03-09 12:28:50 obachman Exp $"; 7 7 info=" 8 8 LIBRARY: presolve.lib PROCEDURES FOR PRE-SOLVING POLYNOMIAL EQUATIONS … … 70 70 "USAGE: elimlinearpart(i[,n]); i=ideal, n=integer 71 71 RETURN: list of of 5 objects: 72 [1]: (interreduced) ideal obtained from i by eliminating (s bstituting)72 [1]: (interreduced) ideal obtained from i by eliminating (substituting) 73 73 from the first n variables those which appear in a linear part 74 74 of i, by putting this part into triangular form -
Singular/fglm.cc
r41442f r811826 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglm.cc,v 1.1 6 1999-03-08 18:11:39 SingularExp $2 // $Id: fglm.cc,v 1.17 1999-03-09 12:28:45 obachman Exp $ 3 3 4 4 /**************************************** … … 144 144 else 145 145 pperm= NULL; 146 maFindPerm( sring->names, nvar, sring->parameter, npar, dring->names, nvar, dring->parameter, npar, vperm, pperm ); 146 maFindPerm( sring->names, nvar, sring->parameter, npar, 147 dring->names, nvar, dring->parameter, npar, vperm, pperm, 148 dring->ch); 147 149 for ( k= nvar; (k > 0) && (state == FglmOk); k-- ) 148 150 if ( vperm[k] <= 0 ) { … … 181 183 // check if dring->qideal is contained in sring->qideal: 182 184 int * dsvperm = (int *)Alloc0( (nvar+1)*sizeof( int ) ); 183 maFindPerm( dring->names, nvar, NULL, 0, sring->names, nvar, NULL, 0, dsvperm, NULL ); 184 nSetMap( rInternalChar(dring), dring->parameter, npar, dring->minpoly ); 185 maFindPerm( dring->names, nvar, NULL, 0, sring->names, nvar, NULL, 0, 186 dsvperm, NULL, sring->ch); 187 nSetMap(rInternalChar(dring), dring->parameter, npar, dring->minpoly); 185 188 ideal dqins = idInit( IDELEMS( dring->qideal ), 1 ); 186 189 for ( k= IDELEMS( dring->qideal )-1; k >= 0; k-- ) -
Singular/fglmhom.cc
r41442f r811826 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmhom.cc,v 1.1 1 1998-09-24 09:59:39 SingularExp $2 // $Id: fglmhom.cc,v 1.12 1999-03-09 12:28:46 obachman Exp $ 3 3 4 4 /**************************************** … … 326 326 // Map the sourceHeads to the destRing 327 327 int * vperm = (int *)Alloc( (sourceRing->N + 1)*sizeof(int) ); 328 maFindPerm( sourceRing->names, sourceRing->N, NULL, 0, currRing->names, currRing->N, NULL, 0, vperm, NULL ); 328 maFindPerm( sourceRing->names, sourceRing->N, NULL, 0, currRing->names, 329 currRing->N, NULL, 0, vperm, NULL, currRing->ch); 329 330 nSetMap( sourceRing->ch, sourceRing->parameter, sourceRing->P, sourceRing->minpoly ); 330 331 for ( s= IDELEMS( sourceIdeal ) - 1; s >= 0; s-- ) { -
Singular/fglmzero.cc
r41442f r811826 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmzero.cc,v 1.2 1 1999-03-08 18:11:41 SingularExp $2 // $Id: fglmzero.cc,v 1.22 1999-03-09 12:28:47 obachman Exp $ 3 3 4 4 /**************************************** … … 139 139 140 140 int * perm = (int *)Alloc0( (_nfunc+1)*sizeof( int ) ); 141 maFindPerm( source->names, source->N, NULL, 0, currRing->names, currRing->N, NULL, 0, perm, NULL ); 142 nSetMap( rInternalChar(source), source->parameter, 143 rPar(source), source->minpoly ); 141 maFindPerm( source->names, source->N, NULL, 0, currRing->names, 142 currRing->N, NULL, 0, perm, NULL , currRing->ch); 143 nSetMap( rInternalChar(source), source->parameter, source->P, 144 source->minpoly ); 144 145 145 146 matHeader ** temp = (matHeader **)Alloc( _nfunc*sizeof( matHeader * )); -
Singular/ipshell.cc
r41442f r811826 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1.3 5 1999-03-08 18:11:46 SingularExp $ */4 /* $Id: ipshell.cc,v 1.36 1999-03-09 12:28:48 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 574 574 IDRING(r)->minpoly)) 575 575 { 576 Werror("map from characteristic %d to %d not implemented", 577 rChar(IDRING(r)),rChar()); 576 Werror("can not map from ground field of %s to current ground field", theMap->preimage); 578 577 return NULL; 579 578 } -
Singular/maps.cc
r41442f r811826 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: maps.cc,v 1.1 3 1999-03-08 18:11:48 SingularExp $ */4 /* $Id: maps.cc,v 1.14 1999-03-09 12:28:49 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - the mapping of polynomials to other rings … … 280 280 281 281 void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p, 282 char **names, int n, char **par, int nop, 283 int * perm, int *par_perm )282 char **names, int n, char **par, int nop, 283 int * perm, int *par_perm, int ch) 284 284 { 285 285 int i,j; … … 298 298 } 299 299 } 300 if ((perm[i+1]==0)&&(par!=NULL)) 300 if ((perm[i+1]==0)&&(par!=NULL) 301 // do not consider par of Fq 302 && (ch < 2)) 301 303 { 302 304 for(j=0; j<nop; j++) … … 354 356 int *perm=(int *)Alloc0((r->N+1)*sizeof(int)); 355 357 //int *par_perm=(int *)Alloc0(rPar(r)*sizeof(int)); 356 maFindPerm(r->names,r->N, r->parameter, r Par(r),357 currRing->names,currRing->N,currRing->parameter, rPar(currRing),358 perm,NULL /*par_perm*/);358 maFindPerm(r->names,r->N, r->parameter, r->P, 359 currRing->names,currRing->N,currRing->parameter, currRing->P, 360 perm,NULL, currRing->ch); 359 361 poly res=pPermPoly(p,perm,r/*,par_perm,rPar(r)*/); 360 362 Free((ADDRESS)perm,(r->N+1)*sizeof(int)); -
Singular/maps.h
r41442f r811826 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: maps.h,v 1. 6 1997-12-15 22:46:31obachman Exp $ */6 /* $Id: maps.h,v 1.7 1999-03-09 12:28:49 obachman Exp $ */ 7 7 /* 8 8 * ABSTRACT - the mapping of polynomials to other rings … … 22 22 void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p, 23 23 char **names, int n, char **par, int nop, 24 int * perm, int *par_perm );24 int * perm, int *par_perm, int ch); 25 25 #endif
Note: See TracChangeset
for help on using the changeset viewer.