This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
a question about GSL matrix
- To: gsl-discuss at sourceware dot cygnus dot com
- Subject: a question about GSL matrix
- From: Jianhua Zhu <jianhua at bu dot edu>
- Date: Fri, 30 Jun 2000 21:47:31 -0400 (EDT)
- cc: Jianhua Zhu <jianhua at bu dot edu>
Dear GSL Team,
I am wondering why GSL choose such a complicated representation for
matrices. As an engineering student, I have some experience with
several numerical libraries. They simply use the type * and type **
for vectors and matrices respectively. GSL's scheme looks professional.
But I cannot see the advantage. In addition, I feel GSL does not pay
enough attention to efficiency. To read and write a cell in a
matrix, at least one multiplication and three additions are needed (as
shown in the frequently called function gsl_matrix_get()).
Sincerely,
Jianhua