|
From: | rik |
Subject: | Re: union.m |
Date: | Fri, 31 Jul 2015 16:59:52 -0700 |
On 07/31/2015 03:03 PM,
address@hidden wrote:
Apparently my memory is failing and I forgot that I had changed this once already for Matlab compatibility. I agree that you should revert the behavior while cleaning up the duplication of using isvector and isrow. 'grep isvector *.m' in scripts/set shows that the same construction is used in the other functions. Bonus points for cleaning up those entries as well! intersect.m: isrowvec = isvector (a) && isvector (b) && isrow (a) && isrow (b); setdiff.m: isrowvec = isvector (a) && isrow (a); setxor.m: isrowvec = isvector (a) && isvector (b) && isrow (a) && isrow (b); --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |