[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ismembc?
From: |
John W. Eaton |
Subject: |
ismembc? |
Date: |
Tue, 29 Nov 2011 02:38:53 -0500 |
On 29-Nov-2011, fork wrote:
| In hopes of using yalmip and sedumi with octave, I am running into a bunch of
| unpleasant incompatibilities, the latest of which is "ismembc()", which seems
to
| be a fast (mex) version of ismember.
|
| Does anyone know if I can just replace these one-for-one? I can add it to my
| handy-dandy fixml.awk script if so, but otherwise I need to write a wrapper
(and
| I don't have access to ML to check).
|
| http://undocumentedmatlab.com/blog/ismembc-undocumented-helper-function/
|
| If I was a real man, I would write a mex function that gets us the same
| speedups, but I don't think I am that tough yet...
I ran into a similar issue recently with another package and I think
it will work if you just replace calls to ismembc with ismember. Or
use a wrapper like
function varargout = ismembc (varargin)
varargout = cell (nargout, 1);
[varargout{:}] = ismember (varargin{:});
endfunction
jwe
- ismembc?, fork, 2011/11/29
- ismembc?,
John W. Eaton <=