- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm new to c/c++ and new to MKL and I think I need a little help from you experienced guys:)
I need to write a function that involves
- SVD <--- I got that one to work!
- matrix multiplication
- matrix transpose
- divide rows/cols in matrix with a scalar (or multiply with the inverse of a diagonal matrix)
- finding (complex) eigenvalues
- LS solution to Ax=b
So far I have been veryconfusedby all the FORTRAN stuff in the documentation (I'm coding in C++), but I have managed to get a working SVD by modifying an example that uses LAPACKE_dgesvd.
For matrix multiplication I thought I could use dgemm, but in the documentation there is no interface for C and I couldn't find any examples! There seems to bemainly fortran functions in MKL!What shall I do? Can somebody help me finding the functions I need?Any help is MUCH appreciated!
Best regards,
Matt
I'm new to c/c++ and new to MKL and I think I need a little help from you experienced guys:)
I need to write a function that involves
- SVD <--- I got that one to work!
- matrix multiplication
- matrix transpose
- divide rows/cols in matrix with a scalar (or multiply with the inverse of a diagonal matrix)
- finding (complex) eigenvalues
- LS solution to Ax=b
So far I have been veryconfusedby all the FORTRAN stuff in the documentation (I'm coding in C++), but I have managed to get a working SVD by modifying an example that uses LAPACKE_dgesvd.
For matrix multiplication I thought I could use dgemm, but in the documentation there is no interface for C and I couldn't find any examples! There seems to bemainly fortran functions in MKL!What shall I do? Can somebody help me finding the functions I need?Any help is MUCH appreciated!
Best regards,
Matt
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Matt,
please look into cblas example - cblas_dgemmx.c.
You can find this example into \examples\cblas\source\ directory.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exactly what I was looking for! Thanks Gennady!
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page