TensorAccess.read_line: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_access.bend as TensorAccess Lines 164-167 of stelliferous@0.0.2.0/tensor_access.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_access.bend&start_line=164&end_line=167 import Base def read_line(~Element: Data,input: Array,line: Line,position: U32) -> Array & Element: Line{+base,+first,+extent,+step,+padding,+pad} = line +coordinate = (first + position - padding : U32) window_read(~Element,pad,U32.is_lt(coordinate,extent),input,(base + coordinate * step : U32)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_access.bend&name=Line https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_access.bend&name=window_read