Skip to content

Adding matrix norms to the stdlib_linalg module. #820

Closed
@loiseaujc

Description

@loiseaujc

Motivation

I'm currently updating my package LightKrylov to make use as much as possible of the new linalg features offered in the stdlib_linalg module. Among the things I'll need eventually are functions to compute matrix norms. Is there any on-going work at the moment from @perazz, @jvdp1, or @jalvesz on this subject or could I make this my first task with stdlib ?

Prior Art

  • SciPy: scipy.linalg.norm(A, ord=None, axis=None, keepdims=False, check_finite=True). It handles both standard vector norms as well as a variety of vector-induced and non-induced matrix norms.
  • Julia: LinearAlgebra.norm(x, p) where x is an n-vector returns the $p$-norm of this vector.
  • Julia: LinearAlgebra.norm(A, p) where A is an m x n matrix returns the "entry-wise" $p$-norm of A.
  • Julia : LinearAlgebra.opnorm(A, p) where A is an m x n matrix returns the vector-induced $p$-norm of A.

Additional Information

While most people might be accustomed to the SciPy standard, my personal preference would still go to the Julia principle of separating the true vector-induced norms (i.e. 1-norm, 2-norm, $\infty$-norm) from the entrywise ones (e.g. Frobenius) although I'm obviously open to discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaProposition of an idea and opening an issue to discuss it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions