MCPcopy Create free account
hub / github.com/Derious/cuMPC / EIGEN_DECLARE_TEST

Function EIGEN_DECLARE_TEST

dependence/eigen-3.4.0/test/permutationmatrices.cpp:169–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169EIGEN_DECLARE_TEST(permutationmatrices)
170{
171 for(int i = 0; i < g_repeat; i++) {
172 CALL_SUBTEST_1( permutationmatrices(Matrix<float, 1, 1>()) );
173 CALL_SUBTEST_2( permutationmatrices(Matrix3f()) );
174 CALL_SUBTEST_3( permutationmatrices(Matrix<double,3,3,RowMajor>()) );
175 CALL_SUBTEST_4( permutationmatrices(Matrix4d()) );
176 CALL_SUBTEST_5( permutationmatrices(Matrix<double,40,60>()) );
177 CALL_SUBTEST_6( permutationmatrices(Matrix<double,Dynamic,Dynamic,RowMajor>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
178 CALL_SUBTEST_7( permutationmatrices(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
179 }
180 CALL_SUBTEST_5( bug890<double>() );
181}

Callers

nothing calls this directly

Calls 1

permutationmatricesFunction · 0.85

Tested by

no test coverage detected