Hy list, could anybody help me to declare a 3D matrix in C GRASS module. I've to load several raster map with same location but I've an error in run time if I declare with G_malloc/G_calloc like that: double ***mat; mat=(double***)G_malloc(ndimension*(sizeof(double)); thanks Gianluca > > > >