In this section, we will discuss
NumbaPro, two very exciting libraries to accelerate the
NumbaPro were created by Continuum Analytics, the same company that produces the Anaconda distribution.
Numba is part of the standard Anaconda distribution, but
NumbaPro is a commercial product that must be purchased separately as part of the
Accelerate package. However,
NumbaPro can be downloaded for a free trial period.
These libraries are unique in that they allow the acceleration of code with the addition of a few lines of code. As the first example, let's consider the following lines of code to multiply two matrices:
def matrix_multiply(A, B): m, n = A.shape n, r = B.shape ...