NLAlib.Ops.BlockFn.apply
Library · def
The effect of a block function on the memory: read the input blocks and the tape window, apply the function, write the output blocks at outs, advance the tape. It fails if the number of dimensions is wrong, if an operand handle is not a buffer of the store, if a block cannot be read, if the outputs do not have the declared lengths or if there is no room for them.
NLAlib.Ops.BlockFn.apply {K : Type} (f : Ops.BlockFn K) (d : List ℕ) (ins outs : List (ℕ × ℕ))
(τ : Ops.Tape K) (m : Ops.Mem K) : Option (Ops.Mem K)Import NLAlib.Ops.Blocks.