replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 19 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Maxval(array)
Fortran77

Replies: 14
Views: 17276

PostForum: General   Posted: Tue Sep 15, 2009 1:46 pm   Subject:
Paul, I don't know if I'm understanding what you mean.

Supposing this is the array I want to sort:

Array(1,1) = 10
Array(1,2) = 15
Array(1,3) = 20
Array(2,1) = 1
Array(2,2) = 5
Array(2,3) = ...
  Topic: Maxval(array)
Fortran77

Replies: 14
Views: 17276

PostForum: General   Posted: Thu Sep 10, 2009 5:10 pm   Subject:
I've tried to sort an array with dimension = 2, by each dimension, but I didn't get to.

I'm supposing that ISORT subroutine has no other parameters to sort by each dimension of the array. I didn't ...
  Topic: Maxval(array)
Fortran77

Replies: 14
Views: 17276

PostForum: General   Posted: Wed Sep 09, 2009 11:14 am   Subject:
You are right John!

The first code I posted is very slow when sorting more than 1000 array elements.

The code you posted as 'Scan' is much, much... faster than mine too.

To sort 10000 ele ...
  Topic: Maxval(array)
Fortran77

Replies: 14
Views: 17276

PostForum: General   Posted: Tue Sep 08, 2009 6:48 pm   Subject:
Thank you Paul and John, I've been working around following your posted ideas, using MAXVAL and MAXLOC.

Although my first intention was to get 3 biggest values of an array, now I can get all the a ...
  Topic: Maxval(array)
Fortran77

Replies: 14
Views: 17276

PostForum: General   Posted: Thu Aug 27, 2009 10:51 pm   Subject: Maxval(array)
I want to know the 3 biggest values inside an array using Maxval(array).

The biggest value I know how to get it like this:

Biggest(1) = Maxval(array)


Now, I'd like to consider the remaining ...
  Topic: Filelength: how to get it?
Fortran77

Replies: 10
Views: 17277

PostForum: Support   Posted: Tue Apr 21, 2009 4:26 pm   Subject:
This topic points out some solutions for beginners:

http://forums.silverfrost.com/viewtopic.php?t=133
  Topic: Filelength: how to get it?
Fortran77

Replies: 10
Views: 17277

PostForum: Support   Posted: Tue Apr 21, 2009 4:12 pm   Subject:
Thanks John

that's a good issue: where exists a good text, dealing with basics concepts that are common with Fortran77 and Fortran90/95?

After looking for a while and having met a lot of good l ...
  Topic: Filelength: how to get it?
Fortran77

Replies: 10
Views: 17277

PostForum: Support   Posted: Tue Apr 21, 2009 12:32 am   Subject:
John, Eddie and Ian I understood well your posts. Although I'm going on digesting them, I learned very much

For a beginner like me, some old fortran knowledge is difficult to met now in books or tu ...
  Topic: Filelength: how to get it?
Fortran77

Replies: 10
Views: 17277

PostForum: Support   Posted: Mon Apr 20, 2009 6:50 pm   Subject:
Thanks, that's it.

Perhaps it's better for me to learn something more with this example; what means '(a)' and err=10?
  Topic: Filelength: how to get it?
Fortran77

Replies: 10
Views: 17277

PostForum: Support   Posted: Mon Apr 20, 2009 5:18 pm   Subject: Filelength: how to get it?
Hello,
this seems a basic question, but the more I search... the less I find.

I want to read a text file that looks like this:

.....
123 4567 10000 200000
213 5678 20000 300000
.....

As y ...
  Topic: Converting Integer to Character
Fortran77

Replies: 2
Views: 6428

PostForum: General   Posted: Sat Apr 05, 2008 12:48 am   Subject:
Thanks Paul

Smile Very Happy
  Topic: Converting Integer to Character
Fortran77

Replies: 2
Views: 6428

PostForum: General   Posted: Thu Apr 03, 2008 10:55 pm   Subject: Converting Integer to Character
I'm trying to convert String variables into Integer variables and vice-versa.

Till now I can convert String into Integer but not the reverse.


Program Conversion

Integer Number
Character WO ...
  Topic: SLEEP SUBROUTINE
Fortran77

Replies: 11
Views: 20726

PostForum: General   Posted: Sat Jan 12, 2008 5:32 pm   Subject:
I forgot to wish you guys, Happy New Year Smile
  Topic: SLEEP SUBROUTINE
Fortran77

Replies: 11
Views: 20726

PostForum: General   Posted: Sat Jan 12, 2008 5:31 pm   Subject: Re:
I expect that SLEEP@ repeatedly calls the internal clock, and as a result, makes the cpu rather busy. It makes your program "sleep", not the cpu.

As regards the cpu getting hot, have you ...
  Topic: SLEEP SUBROUTINE
Fortran77

Replies: 11
Views: 20726

PostForum: General   Posted: Sat Jan 12, 2008 5:23 pm   Subject: Re:
Yes you are right. SLEEP@ turns out to be yield process and the name is misleading.

There is an alternative (undocumented) SLEEP1@ that appears to be a genuine sleep process so it does not take ove ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group