[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] efficiently delete rows/columns
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] efficiently delete rows/columns |
Date: |
Tue, 10 May 2011 23:34:42 +0100 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO) |
At Mon, 9 May 2011 19:08:06 +0000,
Dominique Guillot wrote:
> Is it possible to copy blocks of the original matrix into a new matrix ? How
> would you do that ?
You can create a submatrix view and use gsl_matrix_memcpy. Note that
memcpy functions don't work with overlapping regions so it is only
valid for copying to a new matrix.