Changeset 172b7ae in git
- Timestamp:
- Dec 9, 2005, 9:36:11 AM (18 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 7c99d074ee342f560ecfcba31c7b7f6646a716ec
- Parents:
- dad0bc5ac0d19dd0c4e479bffe04b7dbd90ee182
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/factor/homogfactor.cc
rdad0bc5 r172b7ae 1 1 /* Copyright 1997 Michael Messollen. All rights reserved. */ 2 2 //////////////////////////////////////////////////////////// 3 // static char * rcsid = "$Id: homogfactor.cc,v 1. 5 2005-12-05 15:47:32Singular Exp $ ";3 // static char * rcsid = "$Id: homogfactor.cc,v 1.6 2005-12-09 08:36:11 Singular Exp $ "; 4 4 //////////////////////////////////////////////////////////// 5 5 // FACTORY - Includes … … 21 21 TIMING_DEFINE_PRINT(hfactorize_time); 22 22 23 #if 0 23 24 /////////////////////////////////////////////////////////////// 24 25 // get_Terms: Split the polynomial in the containing terms. // … … 55 56 return result; 56 57 } 58 #endif 57 59 58 60 #if 0 … … 73 75 #endif 74 76 77 #if 0 75 78 /////////////////////////////////////////////////////////////// 76 79 // get_max_degree_Variable returns Variable with // … … 87 90 return Variable(maxlevel); 88 91 } 92 #endif 89 93 94 #if 0 90 95 /////////////////////////////////////////////////////////////// 91 96 // homogenize homogenizes f with Variable x // … … 111 116 return result; 112 117 } 118 #endif 113 119 114 120 // we assume g is square-free … … 145 151 DEBOUTLN(cout, " that is ", unhomogelem); 146 152 Unhomoglist.append(CFFactor(unhomogelem,j.getItem().exp())); 147 d_xn -= degree(unhomogelem,xn) ;153 d_xn -= degree(unhomogelem,xn)*j.getItem().exp(); 148 154 } 149 155 DEBOUTLN(cout, "Power of xn to append is ", d_xn); … … 157 163 /* 158 164 $Log: not supported by cvs2svn $ 165 Revision 1.5 2005/12/05 15:47:32 Singular 166 *hannes: is_homogeneous -> factory: isHomogeneous 167 159 168 Revision 1.4 2002/08/19 11:11:34 Singular 160 169 * hannes/pfister: alg_gcd etc.
Note: See TracChangeset
for help on using the changeset viewer.