NLA-lib Explorer

NLAlib.Ops.prodLoop

Library · def

The loop t_i := x_i * y_i for i < n. The operands may depend on the loop variable.

NLAlib.Ops.prodLoop {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] (n : Ops.IExp) (x y t : Ops.Operand) :
  Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Ops.Blas.Dot.