def MatT.rows_cat

bend-tensors@0.0.0.2 · bend_tensors.bend:1095

import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensors
import Base

1095# the rows of xs side by side with the rows of ys
1096def MatT.rows_cat(xs: List<&2, List<&2, F32>>, ys: List<&2, List<&2, F32>>) -> List<&2, List<&2, F32>>:
1097  match xs ys:
1098    case x <> xt y <> yt:
1099      List.append(&2, F32, x, y) <> MatT.rows_cat(xt, yt)
1100    case _ _:
1101      []

Uses (3)

Used by (1)