[Numpy-discussion] syntax for obtaining rank of two columns?

Simon Burton simon at arrowtheory.com
Fri Jun 16 05:40:47 EDT 2006


On Thu, 15 Jun 2006 15:56:56 -0700 (PDT)
JJ <josh8912 at yahoo.com> wrote:

>  In matlab
> the command is quite simple:
> 
> rank([d(:,i),d(:,j)])

you could use the cauchy-schwartz inequality,
which becomes an equality iff the rank above is 1:

http://planetmath.org/encyclopedia/CauchySchwarzInequality.html

Simon.

-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com 




More information about the NumPy-Discussion mailing list