6 karma · joined Apr 1, 2019 (7y ago) · 3 submissions
comment 5y ago · link · parent
NumPy and SciPy are the main workhorses of numerical programming with Python, and provide bindings to extremely efficient libraries (mainly a BLAS and LAPACK implementation), that utilizes SIMD parallelism, adaptive thread parallelism based on workload and cache optimal algorithms to minimise communication between the CPU and RAM.
this gives Python multidimensional arrays that have the flexibility of Python types and speed we can only dream of obtaining if we wrote the low-level code ourselves.
comment 5y ago · link · parent
For these small test cases, however, simply using CHOLMOD (or any other sparse solver) would do the trick perfectly.