Mat.Mat.ger: def of bend-blas-lapack@0.0.0.1 Import: import bend-blas-lapack@0.0.0.1/mat.bend as Mat Lines 187-192 of bend-blas-lapack@0.0.0.1/mat.bend: https://jend.leeeet.dev/read.txt?path=bend-blas-lapack@0.0.0.1/mat.bend&start_line=187&end_line=192 import Base import bend-blas-lapack@0.0.0.1/blas.bend as B # A = alpha x y^T + A def Mat.ger(+rows: Nat, +cols: Nat, alpha: F32, x: Vec, y: Vec, a: Mat) -> IO(Result<&1, &1, U32 & String, Mat>): VecA{xs} = x VecA{ys} = y MatA{m} = a IO.bind(Result<&1, &1, U32 & String, Array>, Result<&1, &1, U32 & String, Mat>, B.Blas.sger(U32.from_nat(rows), U32.from_nat(cols), alpha, xs, ys, m), r => Mat.wrap(rows, cols, r)) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=bend-blas-lapack@0.0.0.1/blas.bend&name=Blas.sger https://jend.leeeet.dev/definition.txt?path=bend-blas-lapack@0.0.0.1/mat.bend&name=Mat https://jend.leeeet.dev/definition.txt?path=bend-blas-lapack@0.0.0.1/mat.bend&name=Mat.wrap https://jend.leeeet.dev/definition.txt?path=bend-blas-lapack@0.0.0.1/mat.bend&name=Vec