Skip to content

API: Inconsistent naming of arguments in svd / svds / eig / eigs #11334

@scottgigante

Description

@scottgigante

The flag which specifies whether or not to return singular/eigenvectors alongside the singular/eigenvalues is extremely inconsistently named.

Also, linalg admits functions scipy.linalg.eigvals, scipy.linalg.svdvals and scipy.linalg.eigvalsh equivalent to running the above functions with the appropriate parameter selection, but sparse.linalg offers no such functions (and in my opinion neither should, according to the Zen of Python: "There should be one-- and preferably only one --obvious way to do it.")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions