Tag: numba

  • Sparse Matrices in Numba

    Welcome file Introduction What is a sparse matrix? Creating a sparse matrix Adding and subtracting sparse matrices Multiplying sparse matrices Multiply matrix and vector The dot function Summing over a dimension Wall time comparison Using smn within a Numba compiled function Conclusion Introduction Numba is a widely-used just-in-time (JIT) compiler for Python that optimizes the…