Magneto is a Microsoft Foundation Class (MFC) dialog-based application using LAPACK for Windows Fortran libraries. The following LAPACK functions are used for matrix manipulations:
extern "C"
{
void DGEMM(const char *transa, const char *transb, const int *m, const int *n, const int *k,
const double *alpha, const double *a, const int *lda, const double *b, const int *ldb,
const double* beta, double *c, const int *ldc);
void DGELSS(int *m, int *n, int *nrhs, double *a, int *lda, double *b, int *ldb, double *sOUT,
double *rcondIN, int *rankOUT, double *work, int *lwork, int *infoOUT);
void DGETRF(const int *m, const int *n, double *a, const int *lda, double *ipiv, int *info);
void DGETRI(const int *n, double *a, const int *lda, double *ipiv, double *work, const int *lwork, int *info);
void DGEEV(const char *jobvl, const char *jobvr, const int *n, double *a, const int *lda, double *wr,
double *wi, double *vl, const int *ldvl, double *vr, const int *ldvr, double *work,
const int *lwork, int *info);
}
In debug mode, link to:
BLASd.lib
LAPACKd.lib
In release mode, link to:
BLAS.lib
LAPACK.lib