Ignore:
Timestamp:
Mar 11, 2006, 11:21:27 PM (17 years ago)
Author:
Peter
Message:

some changes in EB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/kernel_lookup_test.cc

    r538 r559  
    128128        }
    129129  }
     130 
     131  KernelLookup k5(k1,index_even,index_even);
     132  std::vector<size_t> index5;
     133  index5.push_back(0);
     134  index5.push_back(2);
     135  const KernelLookup* k6 = k5.training_data(index5);
     136  for (size_t s=0; s<k6->rows(); s++)
     137    for (size_t t=0; t<k6->rows(); t++)
     138      ok = ok && ((*k6)(s,t)==(*k6)(t,s));
     139
     140
    130141  if (ok)
    131142    *error << "Ok." << std::endl;
Note: See TracChangeset for help on using the changeset viewer.