码迷,mamicode.com
首页 >  
搜索关键字:mex    ( 266个结果
Python/C++ in Visual Studio: An Alternative to Matlab/MEX
来自Andrew Delong的博客http://andrewdelong.wordpress.com/2012/11/03/pythonc-in-visual-studio-an-alternative-to-matlabmex/I spent much of my PhD working in ...
分类:编程语言   时间:2014-06-08 22:45:10    阅读次数:458
Mex(线段树的巧妙应用)
题目要求求某段区间第一个没有出现的数(0,1,2,3.。。。) ,对于所有的区间,我们把这样的数加起来最后得到一个结果。首先,我们要求出这样的数,然后还得列举出所有的区间,复杂度太大了。换种思路,我们定住L,是不是一次性能求出所有的R所得出的结果,这就用到线段树的性质了,因为在移动L的过程中,移一步...
分类:其他好文   时间:2014-06-06 19:31:52    阅读次数:292
HDU 1847 博弈
sg[0]=0;sg[i]=mex{sg[i-2^(j)]} (i>=2^j)mex()为不在此集合的最小非负整数#include #include #include #include using namespace std;using namespace std;int main(){ in...
分类:其他好文   时间:2014-05-25 03:27:01    阅读次数:170
64位matlab mex64位编译器解决方案
安装libsvm的时候用到了mex -setup,有的会报 Could not find the 64-bit compiler. This may indicate that the "X64 Compilers and Tools" or the Microsoft Windo...
分类:其他好文   时间:2014-05-24 03:59:31    阅读次数:387
matlab global persistent变量
global变量是全局的,在使用global变量的函数里需要用global声明所使用的变量。persistent类似global,不过仅对当前函数有作用,这样避免了外面的影响。当这个函数被clear出内存时,persistent变量也被clear。为了防止这个现象,需要使用mlock把函数或mex文...
分类:其他好文   时间:2014-05-12 16:00:26    阅读次数:368
MEX程序中的mexFunction函数【转】
与C中的main函数一样,MEX程序中的开始函数为mexFunction.默认变量参数是:void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])其中nlhs输出参数数目plhs[]指向输出参数的指针nr...
分类:其他好文   时间:2014-05-02 18:01:35    阅读次数:386
266条   上一页 1 ... 25 26 27
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!