Hi,
It is not clear because of wrap(?) whether the date and time are always present on every line, or whether the time is at the end or the beginning of a line.
Please would you clarify.
In your list, ** is not a character.
It is made up of two asterisks.
I think that your arithmetic is incorrect,
unless you are counting upper-case letters also.
That is not a "sum" of matrices.
You need to define one large array that will accommodate
all the elements that you want.
Then for each little matrix, you write:
x(1:m,1:n) = a
where a is dimensioned as a(m,n)
for the first little array,
x(m+1:m+q, n+1:n+r) = b
(where b is dimensioned as...
It seems to me that you wish to save the contents of a variable.
To do that, just assign its value to another variable.
The SAVE statement does something quite different.
It causes tha values of a variable to be retained
even though the procedure in which the SAVE statement
exists terminates...
DBLE is intended to just that - convert the argument to
double precision.
To convert to quad precision, you use the fnction REAL
with the KIND argument specified.
The problem is that the integers that you have in your
code have too many digits for most systems.
The largest integers are typically 2147483647.
To enter your number in the program, you need
to write:
1329527587452d0 and
789000066068d0
and they then become double precision.
The division can...
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.