Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MoorePenrose pseudoinverse in MKL

bb_12_bb_12
Beginner
2,044 Views
Is using (?)DGESVD the only way to calculate pseudoinverse for a general (not square) matrix in MKL? Is there a single function that will take let's say a 5x2 matrix and calculate a pseudoinverse?
0 Kudos
1 Solution
rbarron
New Contributor I
2,044 Views

dgelss can do the job with one input your matrix, the other the unit matrix

View solution in original post

0 Kudos
3 Replies
rbarron
New Contributor I
2,043 Views
Quoting - bb_12_bb_12
Is using (?)DGESVD the only way to calculate pseudoinverse for a general (not square) matrix in MKL? Is there a single function that will take let's say a 5x2 matrix and calculate a pseudoinverse?

dgelss
0 Kudos
rbarron
New Contributor I
2,045 Views

dgelss can do the job with one input your matrix, the other the unit matrix

0 Kudos
bb_12_bb_12
Beginner
2,043 Views

dgelss can do the job with one input your matrix, the other the unit matrix

Great! Thank you.
0 Kudos
Reply