Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Functions
least_squares.hpp File Reference
#include <uni20/linalg/backends/least_squares_common.hpp>
Include dependency graph for backends/cpu/least_squares.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uni20
 
namespace  uni20::linalg
 
namespace  uni20::linalg::least_squares_detail
 

Functions

template<class Matrix >
void uni20::linalg::least_squares_detail::givens (Matrix &a, Matrix &b, Precision p)
 
template<class X , class A , class B , class... P>
requires least_squares_detail::Operands<X, A, B> && least_squares_detail::PrecisionArgs<typename A::value_type, P...>
consteval auto uni20::linalg::kernel_accepts_types (CpuReferenceBackend, least_squares_op const &, X &, A &, B &, std::span< make_real_t< typename A::value_type > >, LeastSquaresInfo &, LeastSquaresOptions< make_real_t< typename A::value_type > > const &, P...)
 Accept matching host matrices for finite-precision reference QR least squares.
 
template<class X , class A , class B , class... P>
requires least_squares_detail::Operands<X, A, B> && least_squares_detail::PrecisionArgs<typename A::value_type, P...>
KernelAttempt uni20::linalg::try_kernel (CpuReferenceBackend, least_squares_op const &, X &x, A &a, B &b, std::span< make_real_t< typename A::value_type > > residuals, LeastSquaresInfo &info, LeastSquaresOptions< make_real_t< typename A::value_type > > const &options, P... precision)
 Solve by Givens QR; numerical failure completes dispatch without publishing output.