Skip to content

Question about matrix power algo #70

@amedeedaboville

Description

@amedeedaboville

I am implementing randomized SVD in BidMach/BidMat, which I would love to contribute to BidMach later if possible :-).
One of the steps of my algorithm involves, for a large dense matrix A, computing (AA')qA

I was wondering if there was an operator or function in BidMat for the exponentiation part (a fast Mq)? I checked the wiki pages Scientific Functions and Matrix Algebra and could not find anything. There is a pow function but that seems to be an element-wise power between two matrices. It might already exist in BidMat but I couldn't find it in the documentation.

I thought there could be some method to this with exponentiation by squaring, or even just a pre-written method that would remove the need to write a for loop every time. I can implement this if you would like.
Cheers,
Amédée

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