TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include <nda/map.hpp>
Functor that is returned by the nda::map function.
F | Callable type. |
Public Member Functions | |
template<Array A0, Array... As> | |
expr_call< F, A0, As... > | operator() (A0 &&a0, As &&...as) const |
Function call operator that returns a lazy function call expression. | |
template<Scalar T0, Scalar... Ts> | |
auto | operator() (T0 t0, Ts... ts) const |
Function call operator that returns the result of the callable object applied to the scalar arguments. | |
Public Attributes | |
F | f |
Callable object. | |
|
inline |
Function call operator that returns a lazy function call expression.
A0 | First nda::Array argument type. |
As | Rest of the nda::Array argument types. |
a0 | First nda::Array argument. |
as | Rest of the nda::Array arguments. |
|
inline |
Function call operator that returns the result of the callable object applied to the scalar arguments.
T0 | First nda::Scalar argument type. |
Ts | Rest of the nda::Scalar argument types. |
t0 | First nda::Scalar argument. |
ts | Rest of the nda::Scalar arguments. |