[GRASSLIST:344] Re: a huge matrix ?

H Bowman hamish_nospam at yahoo.com
Wed Jun 11 00:50:44 EDT 2003


Matlab or Octave(free) may be more appropriate for your analysis.

Is it possible to re-orient your method to do 10500 iterations of 7
if-then statements?


Hamish


> I have a huge matrix containing 7 column and 10500 rows.
> Each columns stand for different maps. Each rows represent "unique"
> combinations of catagories of maps and probability values
> of each row.
> Something like:
> 
>               map1  map2 map3 ... prob
> 1   cat1       x     x    x        x
> 2   cat2       x     x    x        x
> .     .
> .     .
> 10500 .
> 
> So I have 10500 if-clause to create a probability map.
> I tried r.mapcalc (as from a text file) but grass gave "stack
> overflow" error.
> 
> Is there anyone making suggestions ?




More information about the grass-user mailing list