- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What should be the correct signature for P/Invoking dgesv from VB.NET code ?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I checked the following article:
http://software.intel.com/en-us/articles/use-intel-mkl-from-microsoft-office-excel
You may needs to the following steps:
1>Build custom DLL by builder tools with "stdcall" calling convention.
"The Step1: Build custom DLL by builder tools provided by Intel MKL" may provide some help, and the library needs to include C lapack interface 'LAPACKE_dgesv'
2> the function could be called like the following the VB code:
Declare Function LAPACKE_dgesv Lib ”mkl_custom.dll”
( ByVal matrix_order As Integer, ByVal n As Integer ,
ByVal nrhs As Integer, ByVal a As IntPtr,
ByVal lad As Integer, ByVal ipiv As IntPtr,
ByVal b As IntPtr, ByVal ldb As Integer) As Integer
Thanks,
Chao
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