|
From: | alexandr |
Subject: | Re: [Help-gsl] How to get matrix rows & columns as integers |
Date: | Wed, 08 Sep 2004 13:06:57 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 |
Kaustubh Patil wrote:
hi, is there any way to get matrix rows and columns as integer values as they are definesd as size_t in the matrix structure. I tried typecasting but it doesnt works. Thanks, Kaustubh Patil
following code works fine: int rows,cols; gsl_matrix *m = gsl_matrix_alloc (10, 10); ...blahblah.... rows=m->size1; cols=m->size2;
[Prev in Thread] | Current Thread | [Next in Thread] |