Ignore:
Timestamp:
Jan 28, 2006, 5:41:54 PM (16 years ago)
Author:
Peter
Message:

implemented median function for gslapi::vector

changed sister function for std::vector to be named median_TMP because
the interface should be changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/statistics_test.cc

    r301 r500  
    1515  for (unsigned int i=0; i<10; i++)
    1616    data.push_back(static_cast<double>(i));
    17   double m=theplu::statistics::median(data);
     17  double m=theplu::statistics::median_TMP(data);
    1818  if (m!=4.5)
    1919    return -1;
Note: See TracChangeset for help on using the changeset viewer.