|
Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
|
#include <Amesos2_Factory.hpp>
Static Public Member Functions | |
|
static Teuchos::RCP< Solver < Matrix, Vector > > | apply (Teuchos::RCP< const Matrix > A, Teuchos::RCP< Vector > X, Teuchos::RCP< const Vector > B) |
Utility meta-function which binds to an exception-throwing runtime function if the solver does not support the scalar type of the matrix. Otherwise, if the scalar type is supported, then this returns an RCP to a new concrete Amesos2 solver of the given type.
1.7.6.1