MCPcopy Create free account
hub / github.com/PX4/eigen / test_sparse_extra

Function test_sparse_extra

unsupported/test/sparse_extra.cpp:132–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void test_sparse_extra()
133{
134 for(int i = 0; i < g_repeat; i++) {
135 int s = Eigen::internal::random<int>(1,50);
136 CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(8, 8)) );
137 CALL_SUBTEST_2( sparse_extra(SparseMatrix<std::complex<double> >(s, s)) );
138 CALL_SUBTEST_1( sparse_extra(SparseMatrix<double>(s, s)) );
139
140 CALL_SUBTEST_3( sparse_extra(DynamicSparseMatrix<double>(s, s)) );
141// CALL_SUBTEST_3(( sparse_basic(DynamicSparseMatrix<double>(s, s)) ));
142// CALL_SUBTEST_3(( sparse_basic(DynamicSparseMatrix<double,ColMajor,long int>(s, s)) ));
143
144 CALL_SUBTEST_3( (sparse_product<DynamicSparseMatrix<float, ColMajor> >()) );
145 CALL_SUBTEST_3( (sparse_product<DynamicSparseMatrix<float, RowMajor> >()) );
146 }
147}

Callers

nothing calls this directly

Calls 1

sparse_extraFunction · 0.85

Tested by

no test coverage detected