TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include "./interface/cxx_interface.hpp"
#include "./tools.hpp"
#include "../basic_functions.hpp"
#include "../concepts.hpp"
#include "../exceptions.hpp"
#include "../layout_transforms.hpp"
#include "../macros.hpp"
#include "../mem/address_space.hpp"
#include "../stdutil/array.hpp"
#include "../traits.hpp"
#include "../device.hpp"
#include <array>
Provides a generic interface to the BLAS ger
routine and an outer product routine.
Definition in file ger.hpp.
Go to the source code of this file.
Functions | |
template<MemoryVector X, MemoryVector Y, MemoryMatrix M> requires (have_same_value_type_v<X, Y, M> and mem::have_compatible_addr_space<X, Y, M> and is_blas_lapack_v<get_value_t<X>>) | |
void | nda::blas::ger (get_value_t< X > alpha, X const &x, Y const &y, M &&m) |
Interface to the BLAS ger routine. | |
template<ArrayOrScalar A, ArrayOrScalar B> | |
auto | nda::blas::outer_product (A const &a, B const &b) |
Calculate the outer product of two contiguous arrays/views/scalars. | |