def Mat.from_list

bend-blas-lapack@0.0.0.1 · mat.bend:80

import bend-blas-lapack@0.0.0.1/mat.bend as Mat
import Base

80# rows * cols floats, row-major, cut or padded with 0.0
81def Mat.from_list(+rows: Nat, +cols: Nat, xs: List<&2, F32>) -> Mat<rows, cols>:
82  MatA{array.of(Nat.mul(rows, cols), xs)}

Uses (6)

Used by (0)

No other definition uses this definition.