Changeset aba90e8 in git for factory/facBivar.h
- Timestamp:
- Apr 29, 2013, 12:44:49 PM (10 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- eb3abbb7345bcf75de0d0de288aeeba59f8c3985
- Parents:
- dd5ab893f9075772f5a92bae7a22a2e986ce4f10
- git-author:
- Martin Lee <martinlee84@web.de>2013-04-29 12:44:49+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-05-23 18:18:13+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facBivar.h
rdd5ab89 raba90e8 83 83 return result; 84 84 } 85 mat_ZZ M; 86 vec_ZZ S; 85 86 mpz_t * M=new mpz_t [4]; 87 mpz_init (M[0]); 88 mpz_init (M[1]); 89 mpz_init (M[2]); 90 mpz_init (M[3]); 91 92 mpz_t * S=new mpz_t [2]; 93 mpz_init (S[0]); 94 mpz_init (S[1]); 95 87 96 F= compress (F, M, S); 88 97 CFList result= biFactorize (F, v); … … 98 107 result.insert (Lc (G)); 99 108 } 109 110 mpz_clear (M[0]); 111 mpz_clear (M[1]); 112 mpz_clear (M[2]); 113 mpz_clear (M[3]); 114 delete [] M; 115 116 mpz_clear (S[0]); 117 mpz_clear (S[1]); 118 delete [] S; 119 100 120 return result; 101 121 } … … 197 217 return result; 198 218 } 199 mat_ZZ M; 200 vec_ZZ S; 219 220 mpz_t * M=new mpz_t [4]; 221 mpz_init (M[0]); 222 mpz_init (M[1]); 223 mpz_init (M[2]); 224 mpz_init (M[3]); 225 226 mpz_t * S=new mpz_t [2]; 227 mpz_init (S[0]); 228 mpz_init (S[1]); 229 201 230 F= compress (F, M, S); 202 231 TIMING_START (fac_bi_sqrf); … … 233 262 result.insert (CFFactor (LcF, 1)); 234 263 } 264 265 mpz_clear (M[0]); 266 mpz_clear (M[1]); 267 mpz_clear (M[2]); 268 mpz_clear (M[3]); 269 delete [] M; 270 271 mpz_clear (S[0]); 272 mpz_clear (S[1]); 273 delete [] S; 274 235 275 return result; 236 276 }
Note: See TracChangeset
for help on using the changeset viewer.