Date  File  Comment by  Comment  Rating 

09 Oct 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Michael  
09 Oct 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Michael  
05 Aug 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Jason  
03 Jul 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Anders  
06 May 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  wei  
28 Apr 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Atae  
21 Apr 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Petter  Jingyi: I recommend that you start using a 64bit version. 

21 Apr 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Petter  Avnish: I have no idea. 

21 Apr 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Jingyi  only has x64 version >_< 

05 Apr 2014  Inpainting (coherency sensitive hashing) Image inpainting using coherency sensitive hashing (CSH)  Josephine  does this code work for text removal? 

01 Apr 2014  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  dmitrii  Hello! Tried to run the script, but there was an error:
Error in ==> compile_int64 at 10
Has anyone encountered this? How to avoid? 

31 Mar 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Avnish  Will it work on 2010a? 

29 Mar 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  Douglas  Thanks for this  works on 2012a :) 

23 Mar 2014  Matlab mex support for Visual Studio 2013 (and mbuild) Adds mex support for Microsoft’s latest compiler.  TGI  Thanks for it really works on MATLAB 2013B. 

30 Mar 2012  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  craq  Great functionality for those of us with pre2011b versions. I had the same error as Vincent, and his solution worked for me too. Off the top of my head I couldn't figure out how to do the lshift and rshift, but I don't actually need them. 

05 Aug 2011  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Jon  Seamless use. Well done Petter and thanks! 

17 May 2011  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Petter  Vincent: Interesting. I thought the standard allowed the pasting of operators. Is this not true? 

16 Dec 2010  Jacobi and Legendre symbol JACOBI computes the Jacobi symbol (m/n), a generalization of the Legendre symbol.  Sean McClintock  There are a couple of bugs in this program... In line 36, we want to test if n=+/1 mod8, however, since matlab will return a value from 0 to 7 for mod(n,8), if abs(mod(n,8))==1 is not adequate, Perhaps if mod(n,8)==1
Also, I don't think this program deals with negative m. 

11 Nov 2010  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Vincent  Hi Petter,
It didn't compile out of the box, however.
int64operation.c:38:1: error: pasting "OPERATOR" and "=" does not give a valid preprocessing token I had to apply the following modifications:
I don't know if this works for every compiler around there, but for me, this works like a charm...


05 Nov 2010  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Jan Simon  Although INT64 values can be very large, you can still get an overflow. While Matlab uses saturated arithmetic for integer types, your tools do not. It is important to mention this in the documentation. Implementing a saturation (means: value is the max or min INT value if it exceeds the valid range) is not trivial, and omitting it is no reason to reduce the 5 star rating. You mention precompiled in the ReadMe  where can I find them?


09 Jun 2010  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Jan Simon  Thank you for the fast update! 

04 Jun 2010  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Igor  Thanks a lot for this. Could you also add support for _colonobj so that one doesn't get a "Undefined function or method '_colonobj' for input arguments of type 'uint64'" when writing 1:n 

25 May 2010  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Petter  1. The reason the check is made in an .m file is that otherwise the MEX files would have to be quite verbose with lots of conversions from various types to int64.
Thanks for the suggestions. 

21 May 2010  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Jan Simon  A really needed and useful submission!


25 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Petter  Never mind, I misunderstood what you meant. Implementing a crude A*B is very easy, so I might do that. 

24 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Petter  Array multiplication .* is already implemented. 

23 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  John D'Errico  I can't test this myself, so I cannot rate it. But if it now prevents A*B when A and B are both matrices, neither of which is a scalar, then this is good if it would otherwise have done the wrong thing. Better of course is to implement array multiplication too (perhaps in a future version.) Regardless, there have been a few times recently when I wanted to have int64 operations defined, so this is a good addition to MATLAB. 

18 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Petter  John, the reason the * operator is included at all is because it is desirable to support operations like
That is the reason * was included. The next update will issue an error if both a and b are matrices. Thank you for your suggestions. 

15 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Derek O'Connor  John  Thanks for pointing out that Int64 matrix multiplication is elementwise. I should have been more careful, given that the description clearly states that "multiplication and division are elementwise only". This of course explains the O(n^2) behavior. On a more general point, I wish there was a consistent standard for matrix multiplicaton. For example, in OMatrix, C= A*B is the same as Matlab, but C=A^2 gives cij = (aij)^2. This is really confusing. In Fortran 90, C=A*B gives cij = aij*bij. 

15 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  John D'Errico  Derek  it points out that even though the function mtimes is provided, this package only claims to support ELEMENTWISE operations. The quadratic behavior tells me that this code did not do a true matrix multiply. Did you check that A64*B64 was correct in your test? Element wise multiplication will take O(N^2) flops, whereas a matrix multiply (as * is supposed to generate) is O(N^3). I would have preferred that an error be generated if you use * on a pair of matrices, when that operation will not return the proper result. This would normally make me downrate this code. Since I cannot test it without compiling it, I won't give any rating at all. 

15 Sep 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Derek O'Connor  This seems to be an excellent package. I used it to test matrix multiplication
Also, a 2degree polyfit of the int64 matmult times was very good, i.e., t(n) is O(n^2)! Can anyone enlighten me? Here is the test function: function times = TimesInt64(v,degree);
% Derek O'Connor Sept 2009 nvals = v'*10^3;
tic; A64*B64; times(k) = toc;
p=polyfit(nvals,times,degree);
% End Function TimesInt64(v,degree) % n times (secs)
% p(x) = 0.098649  5.6075e005*x + 2.5027e008*x^2 

15 Jul 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Bruno Luong  What a relief to have finally a basic int64 arithmetic operators supported. 

14 Jul 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Petter  I used Microsoft Visual C++ Express 2008 to compile the library. "long long" _is_ supported in later versions of Visual C++. Also, "long long" is more supported by other compilers and will probably end up in the next C++ standard as well. 

14 Jul 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Bruno Luong  It is also puzzling this can work a=int64([0 1; 2 3])


14 Jul 2009  INT64 arithmetic in MATLAB Enables int64 Addition, subtraction, multiplication, division and modulus.  Bruno Luong  After a quick look I have few comments that I wish the author could correct: As stated, the C Mex can't be compiled by the popular MS VISUAL C (type LONG LONG must be replaced by __int64) It is dangerous when no checking is performed after mxDuplicateArray that could returns NULL and results in a crash if there is not enough memory. 

27 Mar 2009  01 Knapsack Solves the 01 knapsack problem with positive integer weights.  Chetan Viraktamath  
12 Feb 2009  01 Knapsack Solves the 01 knapsack problem with positive integer weights.  John D'Errico  Fast, it seems to work. Help is good. Problems are repaired. I can't ask for more. 

12 Feb 2009  01 Knapsack Solves the 01 knapsack problem with positive integer weights.  Petter  Thanks for the suggestions. A new version has been uploaded. I am sometimes annoyed by the fact that I have to download and unpacka .zip file before looking at code for an algorithm. Publishing knapsack.m itself provided a way for the user to view the code without downloading anything. But the error looke unprofessional and it has been removed. 

10 Feb 2009  01 Knapsack Solves the 01 knapsack problem with positive integer weights.  John D'Errico  Please let others rate your work. Rating your own stuff highly says nothing about the code, but perhaps drops you closer to the level of a spammer on the FEX like Marco. So let the rating system do its job. I know that you think your stuff is good. So does every eager high school student who posts their last homework assignment. In the particular case of this utility. I'll first suggest that there is no reason to publish the code for knapsack itself. See there was an error generated when you tried it. How about the help? It too is lacking. It is not terrible, but still lacking. Here is the relevant part of the help block. % [AMOUNT] = KNAPSACK(WEIGHTS, VALUES, CONSTRAINT)
See that there appear to be two return arguments, but your help does not tell us what order they are in. In fact, when only one output argument is returned, it looks to be the second of the two outputs. I won't suggest what your code actually does. That is your job. There was a nicely written H1 line in the help. Well done in that respect. I also found error checks in the code. Finally, the best code would include a simple example in the help itself. I know, you will claim there is one in the demo file. But when people actually download this, they will often look to the help rather than search for some other file. 
