BTL: rm stupid backends

This commit is contained in:
Gael Guennebaud
2011-03-23 10:07:24 +01:00
parent fe595e91ae
commit e35b1ef3f3
27 changed files with 7 additions and 1882 deletions

View File

@@ -136,13 +136,13 @@ public :
Action_tridiagonalization( int size ):_size(size)
{
MESSAGE("Action_hessenberg Ctor");
MESSAGE("Action_tridiagonalization Ctor");
// STL vector initialization
typename Interface::stl_matrix tmp;
init_matrix<pseudo_random>(tmp,_size);
init_matrix<null_function>(X_stl,_size);
STL_interface<typename Interface::real_type>::ata_product(tmp,X_stl,_size);
STL_interface<typename Interface::real_type>::aat_product(tmp,X_stl,_size);
init_matrix<null_function>(C_stl,_size);
init_matrix<null_function>(resu_stl,_size);
@@ -155,9 +155,9 @@ public :
_cost = 0;
for (int j=0; j<_size-2; ++j)
{
int r = std::max(0,_size-j-1);
int b = std::max(0,_size-j-2);
_cost += 6 + 3*b + r*r*8;
double r = std::max(0,_size-j-1);
double b = std::max(0,_size-j-2);
_cost += 6. + 3.*b + r*r*8.;
}
}