Mat.Vec.scal: def of bend-blas-lapack@0.0.0.1 Import: import bend-blas-lapack@0.0.0.1/mat.bend as Mat Lines 235-237 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=235&end_line=237 import Base import bend-blas-lapack@0.0.0.1/blas.bend as B def Vec.scal(+n: Nat, alpha: F32, x: Vec) -> IO(Result<&1, &1, U32 & String, Vec>): VecA{xs} = x IO.bind(Result<&1, &1, U32 & String, Array>, Result<&1, &1, U32 & String, Vec>, B.Blas.sscal(U32.from_nat(n), alpha, xs), r => Vec.wrap(n, r)) Uses (13): 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.sscal https://jend.leeeet.dev/definition.txt?path=bend-blas-lapack@0.0.0.1/mat.bend&name=Vec https://jend.leeeet.dev/definition.txt?path=bend-blas-lapack@0.0.0.1/mat.bend&name=Vec.wrap