def ASet.WL

bend-ml-tensor-array@0.1.19.0 · main.bend:2177

import bend-ml-tensor-array@0.1.19.0/main.bend as BendMlTensorArray
import Base

2177# the written low half ASet.WL and the written high half ASet.WH of a node of size n
2178def ASet.WL(-T: Data, xs: Array<T>, +n: U32, +j: U32, +v: T) -> Array<T>:
2179  ASet.NA(T, xs, U32.shr(n), j, v, U32.is_lt(j, U32.shr(U32.shr(n))))

Uses (5)

Used by (1)