Allocating Arrays of matrixes

Daniel Konkle daniel.konkle@dynetics.com
Fri May 31 10:53:00 GMT 2002


I would like to dynamically allocate an array of matrixes.

I currently have them statically defined 

gsl_matrix *m[20]

for ( i = 0 ; i < 20; ++i )
    m[i] = gsl_matrix_calloc( row, col );
}

Has any out there done this with dynamically allocating the m array?
If you have please send me an example, I can't get the order or syntax
correct.

Thanks in advance,
Danny




More information about the Gsl-discuss mailing list