10 changed files with 237 additions and 8 deletions
@ -0,0 +1,3 @@ |
|||
*.aps |
|||
Debug |
|||
Release |
|||
@ -0,0 +1,4 @@ |
|||
#include "cblas.h" |
|||
|
|||
typedef struct { float real; float imag; } Complex8; |
|||
typedef struct { double real; double imag; } Complex16; |
|||
@ -0,0 +1,10 @@ |
|||
#ifdef _WINDOWS |
|||
#ifndef VC_EXTRALEAN |
|||
#define VC_EXTRALEAN |
|||
#endif |
|||
#include "windows.h" |
|||
|
|||
BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ){ |
|||
return TRUE; |
|||
} |
|||
#endif |
|||
@ -0,0 +1,23 @@ |
|||
#include "blas.h" |
|||
|
|||
#ifdef _WINDOWS |
|||
#define DLLEXPORT __declspec( dllexport ) |
|||
#else |
|||
#define DLLEXPORT |
|||
#endif |
|||
|
|||
DLLEXPORT void s_axpy( const int n, const float alpha, const float x[], float y[]){ |
|||
cblas_saxpy(n, alpha, x, 1, y, 1); |
|||
} |
|||
|
|||
DLLEXPORT void d_axpy( const int n, const double alpha, const double x[], double y[]){ |
|||
cblas_daxpy(n, alpha, x, 1, y, 1); |
|||
} |
|||
|
|||
DLLEXPORT void c_axpy( const int n, const Complex8 alpha, const Complex8 x[], Complex8 y[]){ |
|||
cblas_caxpy(n, &alpha, x, 1, y, 1); |
|||
} |
|||
|
|||
DLLEXPORT void z_axpy( const int n, const Complex16 alpha, const Complex16 x[], Complex16 y[]){ |
|||
cblas_zaxpy(n, &alpha, x, 1, y, 1); |
|||
} |
|||
@ -0,0 +1,14 @@ |
|||
//{{NO_DEPENDENCIES}}
|
|||
// Microsoft Visual C++ generated include file.
|
|||
// Used by resource.rc
|
|||
|
|||
// Next default values for new objects
|
|||
//
|
|||
#ifdef APSTUDIO_INVOKED |
|||
#ifndef APSTUDIO_READONLY_SYMBOLS |
|||
#define _APS_NEXT_RESOURCE_VALUE 101 |
|||
#define _APS_NEXT_COMMAND_VALUE 40001 |
|||
#define _APS_NEXT_CONTROL_VALUE 1001 |
|||
#define _APS_NEXT_SYMED_VALUE 101 |
|||
#endif |
|||
#endif |
|||
@ -0,0 +1,103 @@ |
|||
// Microsoft Visual C++ generated resource script. |
|||
// |
|||
#include "resource.h" |
|||
|
|||
#define APSTUDIO_READONLY_SYMBOLS |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Generated from the TEXTINCLUDE 2 resource. |
|||
// |
|||
#include "afxres.h" |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
#undef APSTUDIO_READONLY_SYMBOLS |
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// English (U.S.) resources |
|||
|
|||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
|||
#ifdef _WIN32 |
|||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
|||
#pragma code_page(1252) |
|||
#endif //_WIN32 |
|||
|
|||
#ifdef APSTUDIO_INVOKED |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// TEXTINCLUDE |
|||
// |
|||
|
|||
1 TEXTINCLUDE |
|||
BEGIN |
|||
"resource.h\0" |
|||
END |
|||
|
|||
2 TEXTINCLUDE |
|||
BEGIN |
|||
"#include ""afxres.h""\r\n" |
|||
"\0" |
|||
END |
|||
|
|||
3 TEXTINCLUDE |
|||
BEGIN |
|||
"\r\n" |
|||
"\0" |
|||
END |
|||
|
|||
#endif // APSTUDIO_INVOKED |
|||
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Version |
|||
// |
|||
|
|||
VS_VERSION_INFO VERSIONINFO |
|||
FILEVERSION 0,2009,12,0 |
|||
PRODUCTVERSION 0,2009,12,0 |
|||
FILEFLAGSMASK 0x17L |
|||
#ifdef _DEBUG |
|||
FILEFLAGS 0x1L |
|||
#else |
|||
FILEFLAGS 0x0L |
|||
#endif |
|||
FILEOS 0x4L |
|||
FILETYPE 0x2L |
|||
FILESUBTYPE 0x0L |
|||
BEGIN |
|||
BLOCK "StringFileInfo" |
|||
BEGIN |
|||
BLOCK "040904b0" |
|||
BEGIN |
|||
VALUE "Comments", "http://mathdotnet.com" |
|||
VALUE "CompanyName", "Math.NET" |
|||
VALUE "FileDescription", "MathNET Numerics Native Library" |
|||
VALUE "FileVersion", "0.2009.12" |
|||
VALUE "InternalName", "Math.NET" |
|||
VALUE "LegalCopyright", "Copyright (C) Math.NET 2009" |
|||
VALUE "OriginalFilename", "MathNET.Numerics" |
|||
VALUE "ProductName", "Math.NET" |
|||
VALUE "ProductVersion", "2009.12" |
|||
END |
|||
END |
|||
BLOCK "VarFileInfo" |
|||
BEGIN |
|||
VALUE "Translation", 0x409, 1200 |
|||
END |
|||
END |
|||
|
|||
#endif // English (U.S.) resources |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
|
|||
|
|||
|
|||
#ifndef APSTUDIO_INVOKED |
|||
///////////////////////////////////////////////////////////////////////////// |
|||
// |
|||
// Generated from the TEXTINCLUDE 3 resource. |
|||
// |
|||
|
|||
|
|||
///////////////////////////////////////////////////////////////////////////// |
|||
#endif // not APSTUDIO_INVOKED |
|||
|
|||
@ -0,0 +1,4 @@ |
|||
#include "mkl_cblas.h" |
|||
|
|||
typedef MKL_Complex8 Complex8; |
|||
typedef MKL_Complex16 Complex16; |
|||
Loading…
Reference in new issue