This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Allocating Arrays of matrixes
- From: Daniel Konkle <daniel dot konkle at dynetics dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: 31 May 2002 12:44:29 -0500
- Subject: Allocating Arrays of matrixes
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