Hello, again. I apologize for two questions on the same day, but I think this question might be more likely to help me debug my code than the last.
The question is, "are there any issues involved in having two submatrix views on the same matrix?" For example, is this a legal representation: gsl_matrix * A = gsl_matrix_alloc(3,6); gsl_matrix_view V1 = gsl_matrix_submatrix(A,0,0,2,6); gsl_matrix_view V2 = gsl_matrix_submatrix(A,0,0,2,4); // the views overlap gsl_matrix_memcpy(&V1.matrix,X); / X is a 2x6 matrix And then, could I set, get and memcpy to &V1.matrix and &V2.matrix freely? Or, once I create V2, does V1 disappear? In the archives, there was a post on a similar topic from 2004, but unfortunately, there were no responses. Thanks again for your help. Michael Michael Braun Assistant Professor of Marketing MIT Sloan School of Management One Amherst St., E40-169 Cambridge, MA 02142 (617) 253-3436 [EMAIL PROTECTED] _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
