Created
August 31, 2015 09:00
-
-
Save matthew-brett/40edffcf65495fe2cc62 to your computer and use it in GitHub Desktop.
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
import numpy as np | |
import scipy.linalg as spl | |
blas_routines = [ | |
'dot', | |
'nrm2', | |
'asum', | |
# 'idamax', | |
'swap', | |
'copy', | |
'axpy', | |
'scal', | |
'rot', | |
'rotg', | |
'rotmg', | |
'rotm', | |
'gemv', | |
'trmv', | |
#'trsv', | |
'symv', | |
'ger', | |
#'syr', | |
#'syr2', | |
'gemm', | |
'symm', | |
#'trmm', | |
#'trsm', | |
'syrk', | |
'syr2k'] | |
blas_funcs = spl.get_blas_funcs(blas_routines, np.array([1.0])) | |
lapack_routines = [ | |
'getrf', | |
'potrf', | |
'potrs', | |
'gesdd', | |
'geqrf'] | |
lapack_funcs = spl.get_lapack_funcs(lapack_routines, np.array([1.0])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment