Skip to content

Reexport inv and diag etc from LinearAlgebra? #187

Open
@Yuan-Ru-Lin

Description

@Yuan-Ru-Lin

Is ther any reason not to reexport inv and diag etc? They can implemented quite easily as follows.

import LinearAlgebra: inv, diag
inv(x::ComponentMatrix)::ComponentMatrix = ComponentMatrix(inv(getdata(x)), getaxes(x)...)
diag(x::ComponentMatrix)::ComponentVector = ComponentVector(diag(getdata(x)), getaxes(x)[1])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions