Changeset 4 for tests/test-frobenius.C
- Timestamp:
- 03/13/07 10:33:27 (2 years ago)
- Files:
-
- 1 modified
-
tests/test-frobenius.C (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/test-frobenius.C
r1 r4 28 28 o << vect[i] << " " ; 29 29 return o << vect[vect.size()-1] << std::endl; 30 }30 } 31 31 32 32 int main(int argc, char** argv){ … … 51 51 tim.clear(); 52 52 tim.start(); 53 FFPACK:: Frobenius(F, frobForm, n, A, n, c);53 FFPACK::CharpolyArithProg (F, frobForm, n, A, n, c); 54 54 tim.stop(); 55 55 std::list<vector<Field::Element> >::iterator it = frobForm.begin(); 56 size_t i=0;57 56 while(it != frobForm.end()){ 58 57 printvect (cout, *(it++)); 59 58 } 60 59 cerr<<c<<" "<<tim.usertime()<<" "<<4.55*n*n/1000000.0*n/tim.usertime()<<endl; 60 delete[] A; 61 61 return 0; 62 62 } 63
