1 #ifndef TEST_SOLVERBASE_H
2 #define TEST_SOLVERBASE_H
4 template<
typename DstType,
typename RhsType,
typename MatrixType,
typename SolverType>
8 DstType
m2 = DstType::Random(
cols,cols2);
10 DstType solver_solution = DstType::Random(
cols,cols2);
11 solver._solve_impl(
m3, solver_solution);
13 solver_solution = DstType::Random(
cols,cols2);
17 m3 = RhsType::Random(
rows,cols2);
19 RhsType solver_solution2 = RhsType::Random(
rows,cols2);
20 solver.template _solve_impl_transposed<false>(
m2, solver_solution2);
22 solver_solution2 = RhsType::Random(
rows,cols2);
23 solver_solution2 =
solver.transpose().solve(
m2);
26 m3 = RhsType::Random(
rows,cols2);
28 solver_solution2 = RhsType::Random(
rows,cols2);
29 solver.template _solve_impl_transposed<true>(
m2, solver_solution2);
31 solver_solution2 = RhsType::Random(
rows,cols2);
32 solver_solution2 =
solver.adjoint().solve(
m2);
36 #endif // TEST_SOLVERBASE_H