[GRASS5] Re: src/libes/gmath

"Fernández-Victorio Arévalo, Gonzalo" GFernandez-Victorio at IGAE.minhac.es
Mon Sep 3 03:56:11 EDT 2001


[...]
>> The main issue in forming a common vector/matrix library is 
>converting
>> existing code to use a common format. So far I've encountered four
>> formats:
>> 
>> 1. "double **a", zero-based: gmath/eigen.c, gis/eigen_tools.c,
>> gis/lu.c, i.pca.
>> 
>> 2. "double **a", arbitrary ranges: r.param.scale
>> 
>> 3. "double a[MX][MX]", one-based: gmath/jacobi.c, i.cca
>> 
>> 4. "mat_struct *a": la.c
>> 
>> The main problem with using a structure is that most of the existing
>> code uses "a[i][j]" to access matrices.
>
>Sorry, no idea here (hi developers!). But it should be conform...



More information about the grass-dev mailing list