mkl_vml_types.h

来自「最小二乘拟和工具」· C头文件 代码 · 共 88 行

H
88
字号
/*
//               INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in accordance with the terms of that agreement.
//        Copyright (c) 1999 Intel Corporation. All Rights Reserved.
//
// File    : vml_types.h
// Purpose : VML header (Windows version)
// Author  : Gilev Andrey, Nezhdanov Lev
*/

#ifndef __VML_TYPES_H__
#define __VML_TYPES_H__

#ifdef __cplusplus
extern "C" {
#endif


/*******************************************************************************
  Math types
*******************************************************************************/

/* Complex type (single precision). */
typedef
struct _vml_sComplex_t {
    float    re;
    float    im;
} vml_sComplex_t;


/* Complex type (double precision). */
typedef
struct _vml_dComplex_t {
    double    re;
    double    im;
} vml_dComplex_t;


/*******************************************************************************
  Errors types
*******************************************************************************/

/* Type for error context structure (parameter for additional callback) */
typedef struct _DefVmlErrorContext
{ 
    int iCode; 
    int iIndex;
    double dbA1;
    double dbA2;
    double dbR1;
    double dbR2;
    char cFuncName[64];
    int  iFuncNameLen;
} DefVmlErrorContext;

/* Additional callback error handler function type */
typedef int (*VMLErrorCallBack) (DefVmlErrorContext* pdefVmlErrorContext);


/*******************************************************************************
  Mode types
*******************************************************************************/


/*******************************************************************************
  Version types
*******************************************************************************/

typedef
struct _vmlVersion_t {
    int             MajorVersion;
    int             MinorVersion;
    int             BuildNumber;
    char const *    BuildDate;
    char const *    VersionString;
    char const *    Compiler;
    char const *    Processor;
} vmlVersion_t;


#ifdef __cplusplus
}
#endif

#endif /* __VML_TYPES_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?