def Lapack.sgesvd
import bend-blas-lapack@0.0.0.1/lapack.bend as Lapackimport Base
57# The thin SVD of an m x n row-major matrix (consumed): answers
58# (s, (u, vt)) with s the min(m, n) singular values largest first, u
59# m x k and vt k x n row-major, A = u diag(s) vt.
60def Lapack.sgesvd(m: U32, n: U32, a: Array<F32>) -> IO(Result<&1, &1, U32 & String, Array<F32> & (Array<F32> & Array<F32>)>):
61 import "./effs/lapack_sgesvd.c"
62 import "./effs/lapack_sgesvd.js"