Skip to content

File sum_in_range.h

FileList > code_source > templat > include > TempLat > util > rangeiteration > sum_in_range.h

Go to the source code of this file

  • #include "TempLat/lattice/algebra/constants/zerotype.h"
  • #include "TempLat/lattice/algebra/operators/add.h"

Namespaces

Type Name
namespace TempLat

Macros

Type Name
define Total (i, beg, end, expr) /* multi line expression */

Macro Definition Documentation

define Total

#define Total (
    i,
    beg,
    end,
    expr
) `/* multi line expression */`

@vocab-summary Sums expr over a compile-time index range — the expression-level \(\sum\_i\). @vocab-signature Total(i, beg, end, expr) @vocab-example auto S = Total(mu, 1, NDim, Total(nu, 1, NDim, trace(plaq(Us, mu, nu))));



The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/rangeiteration/sum_in_range.h