TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
mapped_functions.hpp File Reference
#include "./concepts.hpp"
#include "./map.hpp"
#include "./traits.hpp"
#include <cmath>
#include <complex>
#include <utility>

Detailed Description

Provides some custom implementations of standard mathematical functions used for lazy, coefficient-wise array operations.

Definition in file mapped_functions.hpp.

Go to the source code of this file.

Functions

template<ArrayOrScalar A>
decltype(auto) nda::conj (A &&a)
 Function conj for nda::ArrayOrScalar types (lazy and coefficient-wise for nda::Array types with a complex value type).
 
template<ArrayOrScalar A>
auto nda::pow (A &&a, double p)
 Function pow for nda::ArrayOrScalar types (lazy and coefficient-wise for nda::Array types).