Changeset e2a912 in git for libfac/factor
- Timestamp:
- Dec 5, 2005, 4:47:32 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 44c2b1c03fdeb332bf8888856de788024d5daa35
- Parents:
- 3b8b56c35cf3cb763e89ec0a52ba75f41460b30d
- Location:
- libfac/factor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/factor/Factor.cc
r3b8b56c re2a912 1 1 /* Copyright 1996 Michael Messollen. All rights reserved. */ 2 2 /////////////////////////////////////////////////////////////////////////////// 3 static char * rcsid = "$Id: Factor.cc,v 1. 19 2005-10-17 13:18:44Singular Exp $ ";3 static char * rcsid = "$Id: Factor.cc,v 1.20 2005-12-05 15:47:32 Singular Exp $ "; 4 4 static char * errmsg = "\nYou found a bug!\nPlease inform (Michael Messollen) michael@math.uni-sb.de \nPlease include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you."; 5 5 /////////////////////////////////////////////////////////////////////////////// … … 878 878 } 879 879 else{ // multivariate polynomial 880 if ( is_homogeneous(g) ){880 if ( g.isHomogeneous() ){ 881 881 DEBOUTLN(cout, "Poly is homogeneous! : ", g); 882 882 // Now we can substitute one variable to 1, factorize and then … … 1054 1054 } 1055 1055 else{ // multivariate polynomial 1056 if ( is_homogeneous(g) ){1056 if ( g.isHomogeneous() ){ 1057 1057 DEBOUTLN(cout, "Poly is homogeneous! : ", g); 1058 1058 // Now we can substitute one variable to 1, factorize and then … … 1115 1115 /* 1116 1116 $Log: not supported by cvs2svn $ 1117 Revision 1.19 2005/10/17 13:18:44 Singular 1118 *hannes: apply sqrFree before newfactoras (Factorize in Q(a)) 1119 1117 1120 Revision 1.18 2005/10/17 13:17:39 Singular 1118 1121 *hannes: aplly sqrFree before newfactoras (Factorize in Q(a)) -
libfac/factor/homogfactor.cc
r3b8b56c re2a912 1 1 /* Copyright 1997 Michael Messollen. All rights reserved. */ 2 2 //////////////////////////////////////////////////////////// 3 // static char * rcsid = "$Id: homogfactor.cc,v 1. 4 2002-08-19 11:11:34Singular Exp $ ";3 // static char * rcsid = "$Id: homogfactor.cc,v 1.5 2005-12-05 15:47:32 Singular Exp $ "; 4 4 //////////////////////////////////////////////////////////// 5 5 // FACTORY - Includes … … 56 56 } 57 57 58 #if 0 58 59 /////////////////////////////////////////////////////////////// 59 60 // is_homogeneous returns 1 iff f is homogeneous, 0 otherwise// … … 68 69 if ( totaldegree(i.getItem()) != deg ) return 0; 69 70 return 1; 71 // now: return f.isHomogeneous(); 70 72 } 73 #endif 71 74 72 75 /////////////////////////////////////////////////////////////// … … 154 157 /* 155 158 $Log: not supported by cvs2svn $ 159 Revision 1.4 2002/08/19 11:11:34 Singular 160 * hannes/pfister: alg_gcd etc. 161 156 162 Revision 1.3 1997/09/12 07:19:57 Singular 157 163 * hannes/michael: libfac-0.3.0 -
libfac/factor/homogfactor.h
r3b8b56c re2a912 2 2 /////////////////////////////////////////////////////////////////////////////// 3 3 // emacs edit mode for this file is -*- C++ -*- 4 // $Id: homogfactor.h,v 1. 4 2002-08-19 11:11:34Singular Exp $4 // $Id: homogfactor.h,v 1.5 2005-12-05 15:47:32 Singular Exp $ 5 5 /////////////////////////////////////////////////////////////////////////////// 6 6 #ifndef HFACTOR_H 7 7 #define HFACTOR_H 8 8 CFList get_Terms( const CanonicalForm & f ); 9 bool is_homogeneous( const CanonicalForm & f);10 9 CFFList HomogFactor( const CanonicalForm & g, const CanonicalForm & minpoly, const int Mainvar ); 11 10 #endif /* HFACTOR_H */ … … 14 13 /* 15 14 $Log: not supported by cvs2svn $ 15 Revision 1.4 2002/08/19 11:11:34 Singular 16 * hannes/pfister: alg_gcd etc. 17 16 18 Revision 1.3 1997/09/12 07:19:58 Singular 17 19 * hannes/michael: libfac-0.3.0
Note: See TracChangeset
for help on using the changeset viewer.