I am writing a managed wrapper for the ATLAS BLAS library for the .NET framework. Since ATLAS is a static library, I wrote a simple DLL that maps calls to the static library and then wrote a C# class that calls the DLL using P/Invoke. The wrapper works fine for non-complex number and fine for complex numbers where the function does not modify the the array of data. However, for functions that modify an array of complex numbers I basically get an exception. I need some to figure what is wrong with my wrapper. I can provide a compiled copy of ATLAS for P4 on windows if needed. The source code can be gotten from a subversion repository at [url removed, login to view] The C# class is [url removed, login to view] The axpy method for ComplexFloat and ComplexDouble are failing. The ATLAS wrapper code can be found at [url removed, login to view] The unit test is [url removed, login to view]
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
.NET Framework on Windows XP