Rank: 306716 based on 0 downloads (last 30 days) and 0 file submitted
photo

jianbo

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by jianbo View all
Updated File Comments Rating
05 Dec 2011 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong

05 Dec 2011 nth_element MEX wrap of C++ nth_element. Plus fast_median, a faster median function. In-place and parallel. Author: Peter Li

Hi, I am interested to have index, rather of the n-th element output, thx.

05 Dec 2011 Min/Max selection Search for k smallest or largest elements in the array Author: Bruno Luong

Hi
I try to compile(by GCC under Linux) minkmex.c/maxkmex.c, and encounter an error like

I did not figure out how to modify your C source file to fix the problem. I think your C implementation should be cross-platform.

minkmex.c: In function ‘MinMaxResult’:
minkmex.c:293:5: warning: incompatible implicit declaration of built-in function ‘memset’
minkmex.c: In function ‘LocResult’:
minkmex.c:322:5: warning: incompatible implicit declaration of built-in function ‘memset’
minkmex.c: In function ‘mexFunction’:
minkmex.c:544:25: error: expected expression before ‘/’ token

mex: compile of ' "minkmex.c"' failed.

Contact us