37 #include <tests/myratest.h> 42 ADD_TEST(
"zldlt2_mixed",
"[multifrontal][parallel]")
50 for (
int n = 0; n < N; ++n)
60 auto history = mixed_refine( make_GemmAction(A),
make_SolveAction(solver), x, 1.0e-12, 20);
61 double error = frobenius(A*x-b);
62 myra::out() <<
" error = " << error << std::endl;
63 myra::out() <<
" history = " << history << std::endl;
64 REQUIRE(error < 1.0e-10);
Sparse direct solver suitable for complex symmetric systems.
Definition: SparseZLDLTSolver.h:61
Interface class for representing subranges of dense Vector's.
Variety of routines for mixed dense*sparse or dense*sparse matrix multiplies. The dense*dense case is...
Routines for computing Frobenius norms of various algebraic containers.
Sparse direct solver suitable for complex symmetric systems.
Routines for copying and lowering the precision of a SparseMatrix.
General purpose compressed-sparse-column (CSC) container.
static Vector< Number > random(int N)
Generates a random Vector of specified size.
Definition: Vector.cpp:276
Definition: stlprint.h:32
Action< typename ReflectNumber< Solver >::type > make_SolveAction(const Solver &solver, char op='N')
Free function for making SolveAction's.
Definition: SolveAction.h:67
Routines for printing the contents of various std::container's to a std::ostream using operator <<...
Various utility functions/classes related to scalar Number types.
Signatures for sparse matrix * dense vector multiplies. All delegate to gemm() under the hood...
Like refine(), but uses a low-precision M to solve/refine a high-precision A.
static Vector< Number > zeros(int N)
Generates a zeros Vector of specified size.
Definition: Vector.cpp:280
Container for either a column vector or row vector (depends upon the usage context) ...
Aggregates a (perm, iperm, swaps) triple into a vocabulary type.
Adapts a class with a .solve() method into an Action.
An Action for multiplying by a dense Matrix or SparseMatrix using gemm().
Stores an IxJ matrix A in compressed sparse column format.
Definition: bothcat.h:23
Helper routines for reordering/filling 2D structured grids. Used by many unit tests.
Applies random phase shifts to a complex square SparseMatrix.
Range/Iterator types associated with SparseMatrix.