NLAlib.Ops.sumPairwise
Library · def
Pairwise summation, recursive: the tree calls sum. Index variables: n, the offsets of x, z, then the variables of the branches; buffer variables: x, z, then two scratch cells.
NLAlib.Ops.sumPairwise {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] [Ops.Has Ops.Blas1Op Op] :
Ops.Stmt Op TstImport NLAlib.Ops.Blas.Sum.