NLA-lib Explorer

NLAlib.Ops.Examples.Routines.double

Library · def

Double a cell in place: [] (x : update 1). The tree is x := x + x with two buffer variables, an input and an output; naming x on both sides of the header binds both to the one operand.

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

Full source on GitHub

Import NLAlib.Ops.Examples.Routine.