TRIQS/nda 2.0.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
orgqr_batch.hpp
#include "./orgqr.hpp"
#include "../blas/tools.hpp"
#include "../macros.hpp"
#include <type_traits>
#include <utility>

Detailed Description

Provides a generic interface to batched versions of the LAPACK/cuSOLVER orgqr routine.

Definition in file orgqr_batch.hpp.

Go to the source code of this file.

Functions

template<BlasArrayReal< 3 > A, BlasArrayFor< A, 2 > TAU, BlasArrayFor< A, 1 > W = vector_value_t<A>>
requires (has_F_layout<A, TAU>)
int nda::lapack::orgqr (A &&a, TAU &&tau, W &&work=vector_value_t< A >{})
 Generic-friendly overload of nda::lapack::orgqr for batches stored as 3-dimensional arrays.
template<BlasArrayReal< 3 > A, BlasArrayFor< A, 2 > TAU, BlasArrayFor< A, 1 > W = vector_value_t<A>>
requires (has_F_layout<A, TAU>)
int nda::lapack::orgqr_batch (A &&a, TAU &&tau, W &&work=vector_value_t< A >{})
 Interface to batched versions of the LAPACK/cuSOLVER orgqr routine.

Function Documentation

◆ orgqr()

template<BlasArrayReal< 3 > A, BlasArrayFor< A, 2 > TAU, BlasArrayFor< A, 1 > W = vector_value_t<A>>
requires (has_F_layout<A, TAU>)
int nda::lapack::orgqr ( A && a,
TAU && tau,
W && work = vector_value_t<A>{} )

Generic-friendly overload of nda::lapack::orgqr for batches stored as 3-dimensional arrays.

It simply calls nda::lapack::orgqr_batch and lets generic code call orgqr(...) regardless of whether the input is a single matrix (rank 2) or a batch (rank 3).

Definition at line 80 of file orgqr_batch.hpp.