|
Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
|
Check whether a solver supports a scalar type. More...
#include <Amesos2_SolverTraits.hpp>
Static Public Attributes | |
| static const bool | value |
Check whether a solver supports a scalar type.
A meta-function for checking a solver's support for a scalar. The special-case is a Meta::nil_t list, which we are going to interpret as the solver supporting any and all types. If a solver's supported_scalars type-list is nil, this meta-function returns true always. Otherwise, it checks whether the given type is in the solver's supported_scalars list.
const bool Amesos2::solver_supports_scalar< ConcreteSolver, Scalar >::value [static] |
Meta::if_then_else<Meta::is_same<typename solver_traits<ConcreteSolver>::supported_scalars, Meta::nil_t>::value,
Meta::true_type,
Meta::type_list_contains<
typename solver_traits<ConcreteSolver>::supported_scalars,
Scalar> >::type::value
1.7.6.1