11#ifndef TLAPACK_HETRF_HH
12#define TLAPACK_HETRF_HH
57 if (
opts.variant == HetrfVariant::Blocked)
130template <TLAPACK_UPLO uplo_t, TLAPACK_MATRIX matrix_t, TLAPACK_VECTOR ipiv_t>
140 if (
opts.variant == HetrfVariant::Blocked)
#define TLAPACK_UPLO
Macro for tlapack::concepts::Uplo compatible with C++17.
Definition concepts.hpp:942
#define TLAPACK_WORKSPACE
Macro for tlapack::concepts::Workspace compatible with C++17.
Definition concepts.hpp:912
#define TLAPACK_VECTOR
Macro for tlapack::concepts::Vector compatible with C++17.
Definition concepts.hpp:906
#define TLAPACK_MATRIX
Macro for tlapack::concepts::Matrix compatible with C++17.
Definition concepts.hpp:896
int hetrf_blocked(uplo_t uplo, matrix_t &A, ipiv_t &ipiv, const BlockedLDLOpts &opts)
Computes the Bunch-Kaufman factorization of a symmetric or Hermitian matrix A.
Definition hetrf_blocked.hpp:124
int hetrf_blocked_work(uplo_t uplo, matrix_t &A, ipiv_t &ipiv, work_t &work, const BlockedLDLOpts &opts)
Computes the Bunch-Kaufman factorization of a symmetric or Hermitian matrix A. Workspace is provide...
Definition hetrf_blocked.hpp:51
#define tlapack_check(cond)
Throw an error if cond is false.
Definition exceptionHandling.hpp:98
int hetrf(uplo_t uplo, matrix_t &A, ipiv_t &ipiv, const HetrfOpts &opts={})
Computes the Bunch-Kaufman factorization of a symmetric or Hermitian matrix A.
Definition hetrf.hpp:131
int hetrf_work(uplo_t uplo, matrix_t &A, ipiv_t &ipiv, work_t &work, const HetrfOpts &opts={})
Computes the Bunch-Kaufman factorization of a symmetric or Hermitian matrix A. Workspace is provide...
Definition hetrf.hpp:44
Computes the Bunch-Kaufman factorization of a symmetric or Hermitian matrix A using a blocked algorit...
Sort the numbers in D in increasing order (if ID = 'I') or in decreasing order (if ID = 'D' ).
Definition arrayTraits.hpp:15
typename traits::real_type_traits< Types..., int >::type real_type
The common real type of the list of types.
Definition scalar_type_traits.hpp:113
@ ConjTrans
conjugate transpose
HetrfVariant
Variants of the algorithm to compute the Bunch-Kaufman factorization.
Definition hetrf.hpp:20
@ Upper
0 <= i <= j, 0 <= j <= n.
@ Lower
0 <= i <= m, 0 <= j <= i.
Options struct for hetrf_blocked()
Definition hetf3.hpp:27
Options for error checking.
Definition exceptionHandling.hpp:76
Options struct for hetrf()
Definition hetrf.hpp:25