Thanks for all your good wishes.
... and good luck to you all.
May the way from your pub to your home allways go downhill.
Norbert
The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
For the time being, this is the last post - at least for a while.
I am gonig to persue other interests in another field of science - and will have nothing to do with programming any more.
Maybe some day in the nearer or farther future my focus will return to programming, but this remains to be...
.... and you should consider what unit your data are in ....
.... and maybe you should set the sum vector of ax, ay, and az to define speed ....
How are we expected to know what is the meaning of your data and what you want to evaluate out of them? Speed in only one projection? Or vectorized...
If you have a Fortran executable that performs like you want it to, the obvious thing would be to refer to a forum that specialises in html or php coding.
We are specialists in Fortran here, but this is not your problem.
Mikrom and xwb do a know a lot lot in other PLs too, but still....
Sorry...
I am not exactly what you would call a master of php, but I'd say this is possible. Yes. You can kill a fly by firing at it with a gun.
Look, Fortran is a fairly old thing, maybe older than your parents. Now it is still around for it has a certain quality to crunch big numbers of data. Very...
???
This is what I found on the docs, I do not use the equivalence statement, never did, for it does not make any sense to me.
My docs say:
EQUIVALENCE
Statement: Specifies that a storage area is shared by two or more objects in a program unit. This causes total or partial storage association...
Sorry, thisi s not f90 as my f95 compiler complains heaviliy (stopping the errorcount at 30)
... and as that way beyond my expertise
Norbert
The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
...then you would code (but this is extremely bad coding, and added just for clarity):
EQUIVALENCE (AA, BA(1), BA(2))
BA(1) = 1.0
AA = 2.0
write (*,*) BA(1), BA(2)
would give
2.0000 2.0000
as result.
Norbert
The optimist believes we live in the best of all possible worlds - the...
...refers to the same location in memory. In your code AA and BA(1) share the same memory.
EQUIVALENCE (AA, BA(1))
AA = 1.0
BA(1) = 2.0
write (*,*) AA
this would print out 2.00000 as result.
To use this statement is considered poor programming today for it makes debugging difficult. And...
I do not know about this gemm-routine.
But I would set up a small program that just uses this routine to do the operation you want. Say multiply two 3 by three matrices to see how it works.
As Germán would say: take baby-steps, one at a time.
Norbert
The optimist believes we live in the best...
forall(x=1:n, i=1:33,b(i)==a(x))
c(i+x-x)=i
end forall
write(31,88)c
You just set c(i) = i write it.
Norbert
The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
... then check your compiler's documents what the syntax of the typedeclaration should be. Fact is, the compiler does not recognise A to be an array and complains everytime when you reference A with subscripts.
Norbert
The optimist believes we live in the best of all possible worlds - the...
You should specify the type of A.
instead of
ALLOCATABLE :: T(:,:),B(:,:),A(:,:)
you should specify
real*4, ALLOCATABLE :: T(:,:),B(:,:),A(:,:)
if real*4 is the proper type.
Norbert
The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
...it is rather useless to continue this way. The next bugs will come - I'd say when you start the program you will find that saving a string to a real*8 variable is not so good an idea, even if the compiler does not conmplain - and you will be utterly helpless. Stand some buddy some beer to do...
Other questions while thinking about your problem:
Do you only use intersections of two entrants not three or four etc.?
What if two entrants intersect at more than two locations? Are all these intersections used in one Fn only?
Do you need the information which entrant did the score (your...
Count those characters! Or better still, get rid of this h-format! This error would not occur if you use 'string' instead.
One of the closing bracket is character #41 after h and does not belong to the string that is saved to formt.
Norbert
The optimist believes we live in the best of all...
Just trying to understand the problem:
Do your entrants score on any location only once or is there a chance that they get two or more scores for one location like:
A 1 a1
A 2 a2
A 2 a3
A 5 a4
Norbert
The optimist believes we live in the best of all possible worlds - the pessimist fears...
Well, yes, this sounds pretty weird - and your conclusion seems to be the only proper reaction.
Have fun
Norbert
The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
As far as I know, you cannot put any assignment-statements like a3600 = .... into a module's body. To assign values, then you should do it during initialising:
real, private :: a3600 = 3600.0
real, private :: a60 = 60.0
real, private :: a001 = 0.001
But still we have this 'illegal...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.