TRIQS/nda 2.0.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
gelss.hpp
#include "./interface/cxx_interface.hpp"
#include "../basic_array.hpp"
#include "../basic_functions.hpp"
#include "../blas/tools.hpp"
#include "../concepts.hpp"
#include "../declarations.hpp"
#include "../macros.hpp"
#include "../mem/address_space.hpp"
#include "../traits.hpp"
#include <algorithm>
#include <cmath>
#include <complex>
#include <type_traits>

Detailed Description

Provides a generic interface to the LAPACK gelss routine.

Definition in file gelss.hpp.

Go to the source code of this file.

Functions

template<BlasArray< 2 > A, BlasArrayFor< A > B, BlasArrayRealFor< A, 1 > S, BlasArrayFor< A, 1 > W1 = vector_value_t<A>, BlasArrayRealFor< A, 1 > W2 = vector_fp_t<A>>
requires (mem::have_host_compatible_addr_space<A> and (get_rank<B> == 1 or get_rank<B> == 2) and has_F_layout<A, B>)
int nda::lapack::gelss (A &&a, B &&b, S &&s, get_fp_t< A > rcond, int &rank, W1 &&work=vector_value_t< A >{}, W2 &&rwork=vector_fp_t< A >{})
 Interface to the LAPACK gelss routine.