# Re: complex number & sort

2) i have an array with dimensioins A(3,200) . i want to sort these
array
with increasing the second row data algebrically . in fortran
libarary i can't
find suitable program , all program are for vectors .can anybody
propose me a way ?

You can use, for instance, this module:
http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/ordering.f90

to sort your array according to the second column (i.e. permute rows
in such a way that the second column is in increasing order), you can
simply do:

USE ordering
.....
A = A(:, order(A(2,:)) ) ! sort A by 2nd column

"order" is a function that computes an ordering permutation for an
integer/real array X, such that X(order(X)) is increasing sequence.

3) in my program , numbers are calculated with 6 digits precesion
after point .( for example 21.938495 ) how
can i control the precesion ? i want it computes with 3 or 2 digits
after point .

Available kinds of real numbers depend on you hardware. What you
probably want is to display the results with only 2 or 3 digits. Check
out the WRITE statement and edit descriptors in your compiler's
manual.

.

## Relevant Pages

• Solving the Google "prime number in e" challenge
... JOB HUNTERS, GOOGLE THIS ... Here you'll find a RosAsm assembly program that computes the decimal digits ... have one multi-kilobyte number to deal with, E, that you divide by N, ... the Woz algorithm runs through a long memory array one byte ...
(alt.lang.asm)
• Re: Vlookup variation
... from cell to cell in the lookup table. ... for the array. ... >is........if you want the Leftmost 6 characters of the ... >> up count the number of digits, ...
(microsoft.public.excel.worksheet.functions)
• Re: Method of authentication
... Don't design your own cryptoprimitives, except for fun. ... The least significant digits going into the permutation step ... find the array. ...
(sci.crypt)
• Re: help me
... to exponential...if i use int then its not accepting more than 4 ... I think you've misunderstood your assignment. ... If you want the whole entry (17 digits) into *one* variable, ... This means that it's sufficient with an array of int's (even with bytes, ...
(comp.lang.java.help)
• Re: Vlookup variation
... The values in the array are not of fixed length. ... be anything from 6 to 16 digits long. ... of the lookup value. ... >returning the right 6 characters where you want to ...
(microsoft.public.excel.worksheet.functions)