21#ifndef VOTCA_XTP_ACCELERATE_LAPACK_H
22#define VOTCA_XTP_ACCELERATE_LAPACK_H
49int dsyevd(
char jobz,
char uplo,
long n,
double* a,
long lda,
double* w);
52int dpotrf(
char uplo,
long n,
double* a,
long lda);
55int dpotri(
char uplo,
long n,
double* a,
long lda);
LAPACK routines of Apple Accelerate, called directly.
bool LapackAvailable()
Whether the routines below can run here (Accelerate build, macOS 13.3+).
int dpotrf(char uplo, long n, double *a, long lda)
Cholesky factorisation of a symmetric positive definite matrix.
int dpotri(char uplo, long n, double *a, long lda)
Inverse from the Cholesky factor of dpotrf (one triangle).
int dsyevd(char jobz, char uplo, long n, double *a, long lda, double *w)
constexpr int kAccelerateUnavailable
Provides a means for comparing floating point numbers.