def value

stelliferous@0.0.2.0 · tensor_indexed.bend:8

import stelliferous@0.0.2.0/tensor_indexed.bend as TensorIndexed
import Base

8def value(~Element: Data,~Context: Data,~index: Context -> U32 -> U32,~operation: U32 -> Element -> Element,
9  context: Context,position: U32,result: Array<Element> & Element) -> Array<Element> & Element:
10  (source,element) = result
11  (source,operation(index(context,position),element))

Uses (4)

Used by (2)