memspecx.h

来自「不错的SVM实现算法」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef MEM_SPECIFIC_H#define MEM_SPECIFIC_H/*  * header file including all macro's, specific for the  * programming context. If one makes a standalone application,  * memSpec2.h should be included. For use with the MATLAB CMEX  * compiler, this macros should be included. * *///#include "/software/matlab6/extern/include/mex.h"#define ERRORMSG(T) printf(T)#define MALLOC(X) malloc(X)#define FREE(X) free(X)#define GETXIJ(X,dim,i,j) X[dim*i+j]#define GETXROWJ(X,dim,j) (&X[dim*j])#define GETYIJ(Y,dim,i,j) Y[i+dim*j]#define GETYCOLLUMNJ(Y,dim,d) (&Y[dim*d])#define MAX(x,y) x<y? y:x                         #define MIN(x,y) x<y? x:y                         #endif

⌨️ 快捷键说明

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