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 together with overloads for nda::Scalar types.

Definition in file mapped_functions.hxx.

Go to the source code of this file.

Functions

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