MCPcopy Create free account
hub / github.com/LucaFulchir/libRaptorQ / test_sparse_basic

Function test_sparse_basic

external/eigen3/test/sparse_basic.cpp:551–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551void test_sparse_basic()
552{
553 for(int i = 0; i < g_repeat; i++) {
554 int s = Eigen::internal::random<int>(1,50);
555 EIGEN_UNUSED_VARIABLE(s);
556 CALL_SUBTEST_1(( sparse_basic(SparseMatrix<double>(8, 8)) ));
557 CALL_SUBTEST_2(( sparse_basic(SparseMatrix<std::complex<double>, ColMajor>(s, s)) ));
558 CALL_SUBTEST_2(( sparse_basic(SparseMatrix<std::complex<double>, RowMajor>(s, s)) ));
559 CALL_SUBTEST_1(( sparse_basic(SparseMatrix<double>(s, s)) ));
560 CALL_SUBTEST_1(( sparse_basic(SparseMatrix<double,ColMajor,long int>(s, s)) ));
561 CALL_SUBTEST_1(( sparse_basic(SparseMatrix<double,RowMajor,long int>(s, s)) ));
562
563 CALL_SUBTEST_1(( sparse_basic(SparseMatrix<double,ColMajor,short int>(short(s), short(s))) ));
564 CALL_SUBTEST_1(( sparse_basic(SparseMatrix<double,RowMajor,short int>(short(s), short(s))) ));
565 }
566}

Callers

nothing calls this directly

Calls 1

sparse_basicFunction · 0.70

Tested by

no test coverage detected