void test_sparse_extra() { for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(8, 8)) ); CALL_SUBTEST_2( sparse_extra(SparseMatrix<std::complex<double> >(16, 16)) ); CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(33, 33)) ); CALL_SUBTEST_3( sparse_extra(DynamicSparseMatrix<double>(8, 8)) ); } }
void test_sparse_extra() { for(int i = 0; i < g_repeat; i++) { int s = Eigen::internal::random<int>(1,50); CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(8, 8)) ); CALL_SUBTEST_2( sparse_extra(SparseMatrix<std::complex<double> >(s, s)) ); CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(s, s)) ); CALL_SUBTEST_3( sparse_extra(DynamicSparseMatrix<double>(s, s)) ); // CALL_SUBTEST_3(( sparse_basic(DynamicSparseMatrix<double>(s, s)) )); // CALL_SUBTEST_3(( sparse_basic(DynamicSparseMatrix<double,ColMajor,long int>(s, s)) )); CALL_SUBTEST_3( (sparse_product<DynamicSparseMatrix<float, ColMajor> >()) ); CALL_SUBTEST_3( (sparse_product<DynamicSparseMatrix<float, RowMajor> >()) ); } }