TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
Provides functions to sum an expression over a single or multiple domains.
Definition in file sum.hpp.
Go to the source code of this file.
Functions | |
template<typename Expr , int N, typename D > | |
decltype(auto) | nda::clef::sum (Expr const &ex, clef::pair< N, D > d) |
Sum an expression over a 1-dimensional domain. | |
template<typename Expr , typename D0 , typename D1 , typename... Ds> | |
auto | nda::clef::sum (Expr const &ex, D0 &&d0, D1 &&d1, Ds &&...ds) |
Sum an expression over a multi-dimensional domain. | |