3#include "../seq/impl.hpp"
9#if defined(NUMERICS_HAS_LAPACK)
20#if defined(NUMERICS_HAS_LAPACK)
23 std::vector<double> dl(a.
data(), a.
data() + (n - 1));
24 std::vector<double> diag(b.
data(), b.
data() + n);
25 std::vector<double> du(c.
data(), c.
data() + (n - 1));
27 int info = LAPACKE_dgtsv(LAPACK_ROW_MAJOR,
28 static_cast<lapack_int
>(n),
36 throw std::runtime_error(
"thomas (lapack): dgtsv failed, info="
37 + std::to_string(info));
constexpr idx size() const noexcept
void thomas(const Vector &a, const Vector &b, const Vector &c, const Vector &d, Vector &x)
void thomas(const Vector &a, const Vector &b, const Vector &c, const Vector &d, Vector &x)
std::experimental::simd butterfly for FFT.