internal static extern void dgemm(char *transa, char *transb, ptrdiff_t *m, ptrdiff_t *n, ptrdiff_t *k, double *alpha, double *A, ptrdiff_t *lda, double *B, ptrdiff_t *ldb, double *beta, double *C, ptrdiff_t *ldc);
//[DllImport(@"libmwlapack.dll")] internal static extern void dsyev(char *jobz, char *uplo, ptrdiff_t *n, double *a, ptrdiff_t *lda, double *w, double *work, ptrdiff_t *lwork, ptrdiff_t *info);
internal static extern int dtrsm(char *side, char *uplo, char *transa, char *diag, ptrdiff_t *m, ptrdiff_t *n, double *alpha, double *a, ptrdiff_t *lda, double *b, ptrdiff_t *ldb);
//[DllImport(@"libmwlapack.dll")] internal static extern void dgeev(char *jobvl, char *jobvr, ptrdiff_t *n, double *a, ptrdiff_t *lda, double *wr, double *wi, double *vl, ptrdiff_t *ldvl, double *vr, ptrdiff_t *ldvr, double *work, ptrdiff_t *lwork, ptrdiff_t *info);
internal static extern int dpotri(char *uplo, ptrdiff_t *n, double *A, ptrdiff_t *lda, ptrdiff_t *info);
internal static extern void dgemv(char *trans, ptrdiff_t *m, ptrdiff_t *n, double *alpha, double *A, ptrdiff_t *lda, double *x, ptrdiff_t *incx, double *beta, double *y, ptrdiff_t *incy);