Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52759
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-08-21 02:24 -0700 |
| Message-ID | <56e44970-e672-4ab9-8f7c-2183f287a274@googlegroups.com> (permalink) |
| Subject | Matrix sort |
| From | vijayendramunikoti@gmail.com |
Hi I have a matrix of numbers representing the nodal points as follows: Element No. Nodes 1 1 2 3 4 2 5 6 7 8 3 2 3 9 10 ........................... ........................... x 9 10 11 12 ........................... so this is a matrix of numbers 4 x n Elements 1 and 3 are neighbours (as they share nodes 2 3). Similarly elements 3 and x are neighbours (they share nodes 9 and 10). I want to sort the matrix in such a way all the elements are sequentially arranged. How could I script it? can any one help me? Thanks! Vijayendra
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Matrix sort vijayendramunikoti@gmail.com - 2013-08-21 02:24 -0700 Re: Matrix sort Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-21 11:40 +0100
csiph-web