NLA-lib Explorer

NLAlib.Ops.Examples.Routines.sum2

Library · def

Sum two vectors by two calls of sum and one addition. The cell w is scratch for the second partial sum: it is written, and its final contents are not reported.

NLAlib.Ops.Examples.Routines.sum2 {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] : Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Ops.Examples.Routine.