-
Notifications
You must be signed in to change notification settings - Fork 73
Description
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