TDLS 0.2.0
Tiny Device-callable Linear Solvers
Loading...
Searching...
No Matches
tdls::detail::adaptor_context< MatrixType, Config > Struct Template Reference

Common compile-time context of the adaptor entry points: resolves the scalar type, the dimension and the TiledLUpp solvers from the matrix argument and the configuration value. More...

#include <adaptors.hpp>

Public Types

using mtraits = storage_traits<std::remove_cv_t<MatrixType>>
 storage description of the matrix
 
using scalar = typename mtraits::value_type
 scalar type of the system
 
using solver = TiledLUppSolverStatic<scalar, N, Config>
 resolved compile-time solver (never instantiated on the runtime path: the discarded if-constexpr branches keep it unused)
 
using dynamic_solver = TiledLUppSolverDynamic<scalar, Config>
 resolved runtime solver (never instantiated on the fixed-size path)
 

Static Public Attributes

static constexpr bool runtime_sized = mtraits::has_runtime_extents
 true when the matrix is runtime-sized (dynamic solver path)
 
static constexpr int N = mtraits::extent0
 system dimension (fixed-size path; zero on the runtime path)
 

Detailed Description

template<typename MatrixType, TiledLUppConfig< matrix_scalar< MatrixType > > Config>
struct tdls::detail::adaptor_context< MatrixType, Config >

Common compile-time context of the adaptor entry points: resolves the scalar type, the dimension and the TiledLUpp solvers from the matrix argument and the configuration value.

Template Parameters
MatrixTypedense matrix type
Configconfiguration value, validated by checked_config

The documentation for this struct was generated from the following file: