From 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 Mon Sep 17 00:00:00 2001 From: leochanj Date: Wed, 21 Oct 2020 01:52:54 -0400 Subject: debug libextra and remove matlab --- .../texture_synthesis/src/matlab/MEX/innerProd.c | 52 ---------------------- 1 file changed, 52 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/innerProd.c (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/innerProd.c') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/innerProd.c b/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/innerProd.c deleted file mode 100755 index 8fa1224..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlab/MEX/innerProd.c +++ /dev/null @@ -1,52 +0,0 @@ -/* -RES = innerProd(MAT); - Computes mat'*mat - Odelia Schwartz, 8/97. -*/ - -#define V4_COMPAT -#include - -#include -#include -#include -#include -#include - -void mexFunction(int nlhs, /* Num return vals on lhs */ - mxArray *plhs[], /* Matrices on lhs */ - int nrhs, /* Num args on rhs */ - const mxArray *prhs[] /* Matrices on rhs */ - ) -{ - register double *res, *mat, tmp; - register int len, wid, i, k, j, jlen, ilen, imat, jmat; - mxArray *arg; - - /* get matrix input argument */ - /* should be matrix in which num rows >= num columns */ - arg=prhs[0]; - mat= mxGetPr(arg); - len = (int) mxGetM(arg); - wid = (int) mxGetN(arg); - if ( wid > len ) - printf("innerProd: Warning: width %d is greater than length %d.\n",wid,len); - plhs[0] = (mxArray *) mxCreateDoubleMatrix(wid,wid,mxREAL); - if (plhs[0] == NULL) - mexErrMsgTxt(sprintf("Error allocating %dx%d result matrix",wid,wid)); - res = mxGetPr(plhs[0]); - - for(i=0, ilen=0; i