Skip to content

expm is allocating #578

Closed
Closed
@nlw0

Description

@nlw0

It seems this line from the exp() method

nA = maximum(sum(abs.(A); dims=Val(1))) # marginally more performant than norm(A, 1)

is causing a couple of allocations, what I imagine is not something desirable. Just using opnorm(A,1) prevents it.

I am not sure how to go about making a PR, should I go for a non-allocating version of this, or just move back to opnorm?

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