This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup HomeBrew: https://brew.sh/ | |
brew install openblas | |
pip download --no-binary :all: --no-deps numpy | |
unzip numpy-1.18.2.zip # (you may have newer version) | |
cd numpy-1.18.2 | |
cat > site.cfg <<EOF | |
[openblas] | |
libraries = openblas | |
library_dirs = $(brew --prefix openblas)/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@file lapack_cholesky.c | |
@author Pedro Rittner | |
@date November 25, 2014 | |
@brief Small example for how to perform a Cholesky decomposition using LAPACK | |
A small example performing a Cholesky decomposition using LAPACK's C API. | |
This is meant to demystify the API somewhat and to make it clearer what | |
is happening in terms of the function call/arguments/etc. |