def bounds_of_go

mlbend-preprocess@0.1.0.0 · main.bend:71

import mlbend-preprocess@0.1.0.0/main.bend as MlbendPreprocess
import Base

71# The extremes of every column, row by row.
72def bounds_of_go(+rows: List<&2, List<&2, F32>>, +mins: List<&2, F32>, +maxs: List<&2, F32>) ->
73  Bounds:
74  match rows:
75    case Nil{}:
76      Bounds{mins, maxs}
77    case Con{+row, t}:
78      bounds_of_go(t, bounds_min(mins, row), bounds_max(maxs, row))

Uses (5)

Used by (1)