/third_party/boost/libs/numeric/ublas/test/ |
D | test_matrix_vector.cpp | 347 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<double> >()); in BOOST_UBLAS_TEST_DEF() 348 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<float> >()); in BOOST_UBLAS_TEST_DEF() 349 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<long> >()); in BOOST_UBLAS_TEST_DEF() 350 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<unsigned long> >()); in BOOST_UBLAS_TEST_DEF() 351 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<int> >()); in BOOST_UBLAS_TEST_DEF() 352 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<unsigned int> >()); in BOOST_UBLAS_TEST_DEF() 353 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<std::size_t> >()); in BOOST_UBLAS_TEST_DEF() 354 BOOST_UBLAS_TEST_CHECK(test_matrix_row_facade<matrix<char> >()); in BOOST_UBLAS_TEST_DEF() 357 BOOST_UBLAS_TEST_CHECK((test_matrix_row_facade<bounded_matrix<double,7, 7> >())); in BOOST_UBLAS_TEST_DEF() 358 BOOST_UBLAS_TEST_CHECK((test_matrix_row_facade<bounded_matrix<float,7, 7> >())); in BOOST_UBLAS_TEST_DEF() [all …]
|
D | test_assignment.cpp | 613 BOOST_UBLAS_TEST_CHECK(test_vector<vector<double> >()); in BOOST_UBLAS_TEST_DEF() 614 BOOST_UBLAS_TEST_CHECK(test_vector<vector<float> >()); in BOOST_UBLAS_TEST_DEF() 615 BOOST_UBLAS_TEST_CHECK(test_vector<vector<long> >()); in BOOST_UBLAS_TEST_DEF() 616 BOOST_UBLAS_TEST_CHECK(test_vector<vector<unsigned long> >()); in BOOST_UBLAS_TEST_DEF() 617 BOOST_UBLAS_TEST_CHECK(test_vector<vector<int> >()); in BOOST_UBLAS_TEST_DEF() 618 BOOST_UBLAS_TEST_CHECK(test_vector<vector<unsigned int> >()); in BOOST_UBLAS_TEST_DEF() 619 BOOST_UBLAS_TEST_CHECK(test_vector<vector<std::size_t> >()); in BOOST_UBLAS_TEST_DEF() 620 BOOST_UBLAS_TEST_CHECK(test_vector<vector<char> >()); in BOOST_UBLAS_TEST_DEF() 622 BOOST_UBLAS_TEST_CHECK((test_vector<bounded_vector<double,7> >())); in BOOST_UBLAS_TEST_DEF() 623 BOOST_UBLAS_TEST_CHECK((test_vector<bounded_vector<float,7> >())); in BOOST_UBLAS_TEST_DEF() [all …]
|
D | test_coordinate_matrix_sort.cpp | 30 BOOST_UBLAS_TEST_CHECK( matrix_mask(1,1) == 2.1 ); in BOOST_UBLAS_TEST_DEF() 32 BOOST_UBLAS_TEST_CHECK( matrix_mask.index1_data()[0] == 1 ); in BOOST_UBLAS_TEST_DEF() 33 BOOST_UBLAS_TEST_CHECK( matrix_mask.index2_data()[0] == 1 ); in BOOST_UBLAS_TEST_DEF() 34 BOOST_UBLAS_TEST_CHECK( matrix_mask.value_data()[0] == 2.1 ); in BOOST_UBLAS_TEST_DEF() 39 BOOST_UBLAS_TEST_CHECK( matrix_mask.index1_data()[0] == 1 ); in BOOST_UBLAS_TEST_DEF() 40 BOOST_UBLAS_TEST_CHECK( matrix_mask.index2_data()[0] == 1 ); in BOOST_UBLAS_TEST_DEF() 41 BOOST_UBLAS_TEST_CHECK( matrix_mask.value_data()[0] == 2.1 ); in BOOST_UBLAS_TEST_DEF() 43 BOOST_UBLAS_TEST_CHECK( matrix_mask.index1_data()[1] == 0 ); in BOOST_UBLAS_TEST_DEF() 44 BOOST_UBLAS_TEST_CHECK( matrix_mask.index2_data()[1] == 1 ); in BOOST_UBLAS_TEST_DEF() 45 BOOST_UBLAS_TEST_CHECK( matrix_mask.value_data()[1] == 1.1 ); in BOOST_UBLAS_TEST_DEF() [all …]
|
D | size.cpp | 36 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::size(v) == v.size() ); in BOOST_UBLAS_TEST_DEF() 40 BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<1>(v) == v.size()) ); in BOOST_UBLAS_TEST_DEF() 68 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::size(-v) == (-v).size() ); in BOOST_UBLAS_TEST_DEF() 72 BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<1>(-v) == (-v).size()) ); in BOOST_UBLAS_TEST_DEF() 95 …BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::size(vector_reference_type(v)) == vector_reference_… in BOOST_UBLAS_TEST_DEF() 99 …BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<1>(vector_reference_type(v)) == vector_refere… in BOOST_UBLAS_TEST_DEF() 127 BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<1>(A) == A.size1()) ); in BOOST_UBLAS_TEST_DEF() 131 BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<2>(A) == A.size2()) ); in BOOST_UBLAS_TEST_DEF() 135 …BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<boost::numeric::ublas::tag::major>(A) == A.si… in BOOST_UBLAS_TEST_DEF() 139 …BOOST_UBLAS_TEST_CHECK( (boost::numeric::ublas::size<boost::numeric::ublas::tag::minor>(A) == A.si… in BOOST_UBLAS_TEST_DEF() [all …]
|
D | test_complex_norms.cpp | 26 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF() 28 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF() 40 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF() 42 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF() 54 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2_square(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF() 56 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2_square(v) - (9.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF() 71 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF() 73 BOOST_UBLAS_TEST_CHECK(std::abs(norm_inf(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF() 87 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF() 89 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - (3.0*expected)) < TOL); in BOOST_UBLAS_TEST_DEF() [all …]
|
D | test_fixed_containers.cpp | 291 BOOST_UBLAS_TEST_CHECK( test_vector< double >( "double") ); in BOOST_UBLAS_TEST_DEF() 292 BOOST_UBLAS_TEST_CHECK( test_vector< float >( "float") ); in BOOST_UBLAS_TEST_DEF() 293 BOOST_UBLAS_TEST_CHECK( test_vector< int >( "int") ); in BOOST_UBLAS_TEST_DEF() 295 BOOST_UBLAS_TEST_CHECK( test_vector< std::complex<double> >( "std::complex<double>") ); in BOOST_UBLAS_TEST_DEF() 296 BOOST_UBLAS_TEST_CHECK( test_vector< std::complex<float> >( "std::complex<float>") ); in BOOST_UBLAS_TEST_DEF() 297 BOOST_UBLAS_TEST_CHECK( test_vector< std::complex<int> >( "std::complex<int>") ); in BOOST_UBLAS_TEST_DEF() 299 BOOST_UBLAS_TEST_CHECK( test_matrix< double >( "double") ); in BOOST_UBLAS_TEST_DEF() 300 BOOST_UBLAS_TEST_CHECK( test_matrix< float >( "float") ); in BOOST_UBLAS_TEST_DEF() 301 BOOST_UBLAS_TEST_CHECK( test_matrix< int >( "int") ); in BOOST_UBLAS_TEST_DEF() 303 BOOST_UBLAS_TEST_CHECK( test_matrix< std::complex<double> >( "std::complex<double>") ); in BOOST_UBLAS_TEST_DEF() [all …]
|
D | test_banded_storage_layout.cpp | 227 BOOST_UBLAS_TEST_CHECK( test_band_storage< column_major >() ); in BOOST_UBLAS_TEST_DEF() 234 BOOST_UBLAS_TEST_CHECK( test_band_storage< row_major >() ); in BOOST_UBLAS_TEST_DEF() 241 BOOST_UBLAS_TEST_CHECK( test_band_storage_6_by_5< column_major >() ); in BOOST_UBLAS_TEST_DEF() 248 BOOST_UBLAS_TEST_CHECK( test_band_storage_6_by_5< row_major >() ); in BOOST_UBLAS_TEST_DEF() 255 BOOST_UBLAS_TEST_CHECK( test_band_storage_5_by_6< column_major >() ); in BOOST_UBLAS_TEST_DEF() 262 BOOST_UBLAS_TEST_CHECK( test_band_storage_5_by_6< row_major >() ); in BOOST_UBLAS_TEST_DEF()
|
D | test_coordinate_vector_inplace_merge.cpp | 75 BOOST_UBLAS_TEST_CHECK( check_sortedness(vector_coord) ); in BOOST_UBLAS_TEST_DEF() 76 BOOST_UBLAS_TEST_CHECK( compare_distance(vector_coord, vector_dense, TOL) ); in BOOST_UBLAS_TEST_DEF() 93 BOOST_UBLAS_TEST_CHECK( sorted ); in BOOST_UBLAS_TEST_DEF() 94 BOOST_UBLAS_TEST_CHECK( identical ); in BOOST_UBLAS_TEST_DEF()
|
D | num_columns.cpp | 32 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_columns(A) == A.size2() ); in BOOST_UBLAS_TEST_DEF() 53 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_columns(A) == A.size2() ); in BOOST_UBLAS_TEST_DEF() 74 …BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_columns(boost::numeric::ublas::trans(A)) == boo… in BOOST_UBLAS_TEST_DEF() 96 …BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_columns(matrix_reference_type(A)) == matrix_ref… in BOOST_UBLAS_TEST_DEF()
|
D | test_coordinate_matrix_inplace_merge.cpp | 85 BOOST_UBLAS_TEST_CHECK( check_sortedness(matrix_coord) ); in BOOST_UBLAS_TEST_DEF() 86 BOOST_UBLAS_TEST_CHECK( compare_distance(matrix_coord, matrix_dense, TOL) ); in BOOST_UBLAS_TEST_DEF() 104 BOOST_UBLAS_TEST_CHECK( sorted ); in BOOST_UBLAS_TEST_DEF() 105 BOOST_UBLAS_TEST_CHECK( identical ); in BOOST_UBLAS_TEST_DEF()
|
D | num_rows.cpp | 32 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_rows(A) == A.size1() ); in BOOST_UBLAS_TEST_DEF() 53 BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_rows(A) == A.size1() ); in BOOST_UBLAS_TEST_DEF() 74 …BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_rows(boost::numeric::ublas::trans(A)) == boost:… in BOOST_UBLAS_TEST_DEF() 96 …BOOST_UBLAS_TEST_CHECK( boost::numeric::ublas::num_rows(matrix_reference_type(A)) == matrix_refere… in BOOST_UBLAS_TEST_DEF()
|
D | test_inplace_solve.cpp | 62 BOOST_UBLAS_TEST_CHECK(diff(ublas::triangular_adaptor<mat, ublas::lower>(A), x, b) < TOL); in BOOST_UBLAS_TEST_DEF() 67 BOOST_UBLAS_TEST_CHECK(diff (ublas::triangular_adaptor<mat, ublas::upper>(A), x, b) < TOL); in BOOST_UBLAS_TEST_DEF() 72 … BOOST_UBLAS_TEST_CHECK(diff (trans(ublas::triangular_adaptor<mat, ublas::lower>(A)), x, b) < TOL); in BOOST_UBLAS_TEST_DEF() 77 …BOOST_UBLAS_TEST_CHECK(diff (trans(ublas::triangular_adaptor<mat, ublas::upper>(A)), x , b) < TOL); in BOOST_UBLAS_TEST_DEF()
|
D | test_scaled_norm.cpp | 21 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF() 31 BOOST_UBLAS_TEST_CHECK(std::abs(norm_2(v) - expected) < TOL); in BOOST_UBLAS_TEST_DEF()
|
D | begin_end.cpp | 52 BOOST_UBLAS_TEST_CHECK( std::abs(*it - v(ix)) <= TOL ); in BOOST_UBLAS_TEST_DEF() 81 BOOST_UBLAS_TEST_CHECK( std::abs(*it - v(ix)) <= TOL ); in BOOST_UBLAS_TEST_DEF() 119 BOOST_UBLAS_TEST_CHECK( std::abs(*inner_it - A(row,col)) <= TOL ); in BOOST_UBLAS_TEST_DEF() 161 BOOST_UBLAS_TEST_CHECK( std::abs(*inner_it - A(row,col)) <= TOL ); in BOOST_UBLAS_TEST_DEF()
|
D | test_ticket7296.cpp | 34 BOOST_UBLAS_TEST_CHECK( true ); in BOOST_UBLAS_TEST_DEF()
|
D | utils.hpp | 240 #define BOOST_UBLAS_TEST_CHECK(x) /* [BOOST_UBLAS_TEST_CHECK] */ \ macro
|