MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
sparse_qr.hpp File Reference
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <functional>
#include <limits>
#include <numeric>
#include <queue>
#include <stdexcept>
#include <string>
#include <vector>
#include <type_traits>
#include <mtl/concepts/scalar.hpp>
#include <mtl/mat/compressed2D.hpp>
#include <mtl/vec/dense_vector.hpp>
#include <mtl/sparse/util/csc.hpp>
#include <mtl/sparse/util/permutation.hpp>
#include <mtl/math/accumulator_traits.hpp>
#include <mtl/math/pow2_scaling.hpp>

Classes

struct  mtl::sparse::factorization::qr_symbolic
 Result of symbolic QR analysis. More...
struct  mtl::sparse::factorization::qr_numeric< Value >
 Result of numeric QR factorization. More...

Namespaces

namespace  mtl
namespace  mtl::sparse
namespace  mtl::sparse::factorization

Functions

template<typename Value, typename Parameters, typename Ordering>
qr_symbolic mtl::sparse::factorization::sparse_qr_symbolic (const mat::compressed2D< Value, Parameters > &A, const Ordering &ordering)
 Symbolic QR analysis with ordering.
template<typename Value, typename Parameters>
qr_symbolic mtl::sparse::factorization::sparse_qr_symbolic (const mat::compressed2D< Value, Parameters > &A)
 Symbolic QR analysis without ordering.
template<typename Accumulator = void, typename Value, typename Parameters>
requires OrderedField<Value>
qr_numeric< Value > mtl::sparse::factorization::sparse_qr_numeric (const mat::compressed2D< Value, Parameters > &A, const qr_symbolic &sym)
 Numeric QR factorization.
template<typename Accumulator = void, typename Value, typename Parameters, typename VecX, typename VecB, typename Ordering>
requires OrderedField<Value>
void mtl::sparse::factorization::sparse_qr_solve (const mat::compressed2D< Value, Parameters > &A, VecX &x, const VecB &b, const Ordering &ordering)
 One-shot sparse QR solve with ordering.
template<typename Accumulator = void, typename Value, typename Parameters, typename VecX, typename VecB>
requires OrderedField<Value>
void mtl::sparse::factorization::sparse_qr_solve (const mat::compressed2D< Value, Parameters > &A, VecX &x, const VecB &b)
 One-shot sparse QR solve without ordering.