How to sort a vector and then append data
From: joel GUERRERO (joegi.geo_at_yahoo.com)
Date: 07/30/04
- Next message: glen herrmannsfeldt: "Re: Sun f90 bad optimization for assumed-shape array"
- Previous message: Robert Corbett: "Re: f90 - Undefined symbol from libfsu.so"
- Next in thread: beliavsky_at_aol.com: "Re: How to sort a vector and then append data"
- Reply: beliavsky_at_aol.com: "Re: How to sort a vector and then append data"
- Reply: Catherine Rees Lay: "Re: How to sort a vector and then append data"
- Reply: jan van oosterwijk: "Re: How to sort a vector and then append data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jul 2004 18:49:37 -0700
Hi,
I'm not very experienced using fortran 90, and probably this will
looks a stupid question for you.
I need to sort a vector and then append the missing data that is:
Suppose that we have the following vector: 3 1 2 5 15
I need to sort it, that is i need to get: 1 2 3 5 15
and then append the missing numbers in order to get the following
vector:
1 2 3 -4- 5 -6- -7- -8- -9- -10- -11- -12- -13- -14- 15
Hoper you can help me,
Joel
- Next message: glen herrmannsfeldt: "Re: Sun f90 bad optimization for assumed-shape array"
- Previous message: Robert Corbett: "Re: f90 - Undefined symbol from libfsu.so"
- Next in thread: beliavsky_at_aol.com: "Re: How to sort a vector and then append data"
- Reply: beliavsky_at_aol.com: "Re: How to sort a vector and then append data"
- Reply: Catherine Rees Lay: "Re: How to sort a vector and then append data"
- Reply: jan van oosterwijk: "Re: How to sort a vector and then append data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|