This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]