batmat develop
Batched linear algebra routines
Loading...
Searching...
No Matches
geqrf.hpp File Reference

Go to the source code of this file.

QR factorization of batches of matrices

template<simdifiable VA, simdifiable VD, simdifiable VW>
void batmat::linalg::geqrf (VA &&A, VD &&D, VW &&W)
 QR factorization.
template<simdifiable VD, simdifiable VW>
void batmat::linalg::geqrf (VD &&D, VW &&W)
 QR factorization.
template<simdifiable VA, simdifiable VD, simdifiable VB, simdifiable VW>
void batmat::linalg::geqrf_apply (VA &&A, VD &&D, VB &&B, VW &&W, bool transposed=false)
 Apply the Q factor from geqrf (represented by B and W) to a matrix A, storing either QA or QᵀA in D (depending on transposed).
template<simdifiable VD, simdifiable VB, simdifiable VW>
void batmat::linalg::geqrf_apply (VD &&D, VB &&B, VW &&W, bool transposed=false)
 Apply the Q factor from geqrf (represented by B and W) to a matrix D, overwriting it with either QA or QᵀA (depending on transposed).
template<simdifiable VA>
auto batmat::linalg::geqrf_size_W (VA &&A)
 Get the size of the storage for the matrix W returned by geqrf(VA &&A, VD &&D, VW &&W).

Namespaces

namespace  batmat
namespace  batmat::linalg
namespace  batmat::linalg::detail

Functions

template<class T, class Abi, micro_kernels::geqrf::KernelConfig Conf, StorageOrder OA, StorageOrder OD>
void batmat::linalg::detail::geqrf (view< const T, Abi, OA > A, view< T, Abi, OD > D, view< T, Abi > W)
template<class T, class Abi, micro_kernels::geqrf::KernelConfig Conf, StorageOrder OA, StorageOrder OD, StorageOrder OB>
void batmat::linalg::detail::geqrf_apply (view< const T, Abi, OA > A, view< T, Abi, OD > D, view< const T, Abi, OB > B, view< const T, Abi > W, bool transposed, bool reversed)