[Numpy-discussion] syntax for obtaining rank of two columns? (original) (raw)
Simon Burton simon at arrowtheory.com
Fri Jun 16 05:40:47 EDT 2006
- Previous message (by thread): [Numpy-discussion] syntax for obtaining rank of two columns?
- Next message (by thread): [Numpy-discussion] distance matrix speed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Numpy-discussion] syntax for obtaining rank of two columns?
- Next message (by thread): [Numpy-discussion] distance matrix speed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]