def Lapack.spotrf
import bend-blas-lapack@0.0.0.1/lapack.bend as Lapackimport Base
29# The Cholesky factor of a symmetric positive definite n x n matrix:
30# answers L, row-major, lower triangular with zeros above, A = L L^T.
31# Fails with code i when the leading minor of order i is not positive.
32def Lapack.spotrf(n: U32, a: Array<F32>) -> IO(Result<&1, &1, U32 & String, Array<F32>>):
33 import "./effs/lapack_spotrf.c"
34 import "./effs/lapack_spotrf.js"