MlbendPreprocess.l1_normalize_go: def of mlbend-preprocess@0.1.0.0 Import: import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess Lines 116-123 of mlbend-preprocess@0.1.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=mlbend-preprocess@0.1.0.0/main.bend&start_line=116&end_line=123 import Base # The rows of a matrix, each divided by the sum of its absolute values. def l1_normalize_go(+rows: List<&2, List<&2, F32>>, +acc: List<&2, List<&2, F32>>) -> List<&2, List<&2, F32>>: match rows: case Nil{}: acc case Con{row, t}: l1_normalize_go(t, List.append(&2, List<&2, F32>, acc, Con{l1_row(row), Nil{}})) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=mlbend-preprocess@0.1.0.0/main.bend&name=l1_row