norm2_test.cpp 424 B

1234567891011121314151617181920212223242526272829303132
  1. #include "norm2_test.hpp"
  2. #include <boost/numeric/ublas/matrix.hpp>
  3. int main()
  4. {
  5. ///testing float norm2
  6. bench_norm2<float, 10, 10> b1;
  7. ///testing double norm2
  8. bench_norm2<double, 10, 10> b2;
  9. ///testing float norm2
  10. bench_norm2<std::complex<float>, 10, 10> b3;
  11. ///testing double norm2
  12. bench_norm2<std::complex<double>, 10, 10> b4;
  13. b1.run();
  14. b2.run();
  15. b3.run();
  16. b4.run();
  17. return 0;
  18. }