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

Detailed Description

Provides lazy, coefficient-wise array operations of standard mathematical functions.

Definition in file mapped_functions.hxx.

Go to the source code of this file.

Functions

template<Array A>
auto nda::abs (A &&a)
 Lazy, coefficient-wise abs function for nda::Array types.
 
template<Array A>
auto nda::abs2 (A &&a)
 Lazy, coefficient-wise abs2 function for nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::acos (A &&a)
 Lazy, coefficient-wise acos function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::asin (A &&a)
 Lazy, coefficient-wise asin function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::atan (A &&a)
 Lazy, coefficient-wise atan function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::cos (A &&a)
 Lazy, coefficient-wise cos function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::cosh (A &&a)
 Lazy, coefficient-wise cosh function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::exp (A &&a)
 Lazy, coefficient-wise exp function for non-matrix nda::Array types.
 
template<Array A>
auto nda::floor (A &&a)
 Lazy, coefficient-wise floor function for nda::Array types.
 
template<Array A>
auto nda::imag (A &&a)
 Lazy, coefficient-wise imag function for nda::Array types.
 
template<Array A>
auto nda::isnan (A &&a)
 Lazy, coefficient-wise isnan function for nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::log (A &&a)
 Lazy, coefficient-wise log function for non-matrix nda::Array types.
 
template<Array A>
auto nda::real (A &&a)
 Lazy, coefficient-wise real function for nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::sin (A &&a)
 Lazy, coefficient-wise sin function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::sinh (A &&a)
 Lazy, coefficient-wise sinh function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::sqrt (A &&a)
 Lazy, coefficient-wise sqrt function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::tan (A &&a)
 Lazy, coefficient-wise tan function for non-matrix nda::Array types.
 
template<Array A>
requires (get_algebra<A> != 'M')
auto nda::tanh (A &&a)
 Lazy, coefficient-wise tanh function for non-matrix nda::Array types.