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.
No, BA(2) is not affected. BA(2) and all the other elements in this array have their own locations in memory and are not subject to the equivalence. But if you would want it to be then you would code (but this is extremely bad coding, and added just for clarity):
EQUIVALENCE (AA, BA(1), BA(2))...
Equivalence is a statement from ancient times back and should not be used in modern coding.
The meaning is that any entity specified in a pair of brackets 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...
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.
Tony,
this string here
((1x, 4(a1, i3, a1, 0pf8.0, 1pg13.5, 2x)))
is 42 characters long. If you specify 40h in front of it, this is two characters short, so the compiler suddenly finds )) in the command and does not know what to do with that.
Buuut....
If you do not mind my saying: If you...
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.