2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-23 04:02:10 +00:00

bounded clearly marked in text output

This commit is contained in:
Michael Stevens
2004-09-16 06:06:58 +00:00
parent 5d29eb7ba7
commit 2976b00ae2
2 changed files with 8 additions and 8 deletions

View File

@@ -174,26 +174,26 @@ void test_matrix_vector () {
#ifdef USE_BOUNDED_MATRIX
#ifdef USE_FLOAT
std::cout << "float" << std::endl;
std::cout << "float, bounded" << std::endl;
test_my_matrix_vector<ublas::bounded_vector<float, 3>,
ublas::bounded_matrix<float, 3, 3>, 3> () ();
#endif
#ifdef USE_DOUBLE
std::cout << "double" << std::endl;
std::cout << "double, bounded" << std::endl;
test_my_matrix_vector<ublas::bounded_vector<double, 3>,
ublas::bounded_matrix<double, 3, 3>, 3> () ();
#endif
#ifdef USE_STD_COMPLEX
#ifdef USE_FLOAT
std::cout << "std::complex<float>" << std::endl;
std::cout << "std::complex<float>, bounded" << std::endl;
test_my_matrix_vector<ublas::bounded_vector<std::complex<float>, 3>,
ublas::bounded_matrix<std::complex<float>, 3, 3>, 3> () ();
#endif
#ifdef USE_DOUBLE
std::cout << "std::complex<double>" << std::endl;
std::cout << "std::complex<double>, bounded" << std::endl;
test_my_matrix_vector<ublas::bounded_vector<std::complex<double>, 3>,
ublas::bounded_matrix<std::complex<double>, 3, 3>, 3> () ();
#endif

View File

@@ -212,23 +212,23 @@ void test_matrix () {
#ifdef USE_BOUNDED_MATRIX
#ifdef USE_FLOAT
std::cout << "float" << std::endl;
std::cout << "float, bounded" << std::endl;
test_my_matrix<ublas::bounded_matrix<float, 3, 3>, 3> () ();
#endif
#ifdef USE_DOUBLE
std::cout << "double" << std::endl;
std::cout << "double, bounded" << std::endl;
test_my_matrix<ublas::bounded_matrix<double, 3, 3>, 3> () ();
#endif
#ifdef USE_STD_COMPLEX
#ifdef USE_FLOAT
std::cout << "std::complex<float>" << std::endl;
std::cout << "std::complex<float>, bounded" << std::endl;
test_my_matrix<ublas::bounded_matrix<std::complex<float>, 3, 3>, 3> () ();
#endif
#ifdef USE_DOUBLE
std::cout << "std::complex<double>" << std::endl;
std::cout << "std::complex<double>, bounded" << std::endl;
test_my_matrix<ublas::bounded_matrix<std::complex<double>, 3, 3>, 3> () ();
#endif
#endif