Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Lapack.RawSourceThe Fortran shapes, argument for argument. These are what the differential in diff/ compares against the reference Fortran. Use the functions below unless you specifically want lda.
dgetf2 m n a ao lda ipiv ipo factors the m by n matrix a as p * l * u by unblocked Gaussian elimination with partial pivoting, overwriting a and filling min m n zero based pivot rows into ipiv from ipo. Returns info, which is k when u (k,k) is exactly zero, counting k from one.
val dgetrs :
Blasmat.trans ->
int ->
int ->
float array ->
int ->
int ->
int array ->
int ->
float array ->
int ->
int ->
intdgetrs trans n nrhs a ao lda ipiv ipo b bo ldb solves the order n system with nrhs right hand sides in place in the n by nrhs matrix b, using the factors and zero based pivots that dgetrf left in a and ipiv. trans of No_trans solves a * x = b, anything else solves transpose a * x = b. Returns info, always zero here.
val dgesv :
int ->
int ->
float array ->
int ->
int ->
int array ->
int ->
float array ->
int ->
int ->
intdgesv n nrhs a ao lda ipiv ipo b bo ldb solves a * x = b for the order n matrix a and nrhs right hand sides, factoring a in place with dgetrf and overwriting b with the solution. Returns info, which is k when u (k,k) is exactly zero, in which case b is left alone.
dpotf2 uplo n a ao lda factors the order n symmetric positive definite matrix a as transpose u * u when uplo is Blasmat.Upper and l * transpose l when it is Blasmat.Lower, by the unblocked algorithm, reading and overwriting only that triangle. Returns info, which is k when the leading order k minor is not positive definite, counting k from one.
val dpotrs :
Blasmat.uplo ->
int ->
int ->
float array ->
int ->
int ->
float array ->
int ->
int ->
intdpotrs uplo n nrhs a ao lda b bo ldb solves the order n system with nrhs right hand sides in place in the n by nrhs matrix b, using the Cholesky factor that dpotrf left in the uplo triangle of a. Returns info, always zero here.
val dposv :
Blasmat.uplo ->
int ->
int ->
float array ->
int ->
int ->
float array ->
int ->
int ->
intdposv uplo n nrhs a ao lda b bo ldb solves a * x = b for the order n symmetric positive definite matrix a and nrhs right hand sides, factoring a in place with dpotrf and overwriting b with the solution. Returns info, which is k when the leading order k minor is not positive definite, in which case b is left alone.