NLA-lib Explorer

NLAlib.Ops.Examples.dotLoop

Library · def

The accumulation loop: z := 0; for k < n: t := x * y; z := z + t. The operands x, y may depend on the loop variable.

NLAlib.Ops.Examples.dotLoop (n : Ops.IExp) (x y z t : Ops.Operand) : Ops.Stmt Ops.ScalarOp Empty

Full source on GitHub

Import NLAlib.Ops.Examples.Dot.