Displaying 1 result from an estimated 1 matches for "map_j".
Did you mean:
map_r
2000 Feb 29
2
Reading data from file made by C fwrite
...importing data from files created by a C program
(that I have not written myself, I have the source code, but I don't know
if the author wants to publish it yet).
I really don't know much about C, but I can understand that the program
writes to a file using
fwrite(MAP,sizeof(float),MAP_i*MAP_j,f)
where MAP most probably is a pointer to a two-dimensional array of single
precision floats. This is what I want to read into a matrix in R.
When I look at the files written by this program, it is clear that they
are not on a simple form, less says it is a binary file. However, it
appears to be...