Skip to content

numpy.linalg.cholesky performance #5650

Description

@pv

Both scipy.linalg.cholesky and numpy.linalg.cholesky call DPOTRF. However, the timings are

In [1]: A = np.random.rand(500,500); A = A.dot(A.T)
In [2]: %timeit scipy.linalg.cholesky(A)
100 loops, best of 3: 2.2 ms per loop
In [3]: %timeit numpy.linalg.cholesky(A)
100 loops, best of 3: 4.19 ms per loop

Perhaps things can be improved in Numpy?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    57 - Close?Issues which may be closable unless discussion continued

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions