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]

Re: gsl_matrix_* question


Asier writes:
 > what I need is take one matrix and have a view of it without the
 > fifth column, or the third row, or ... In essence, take a nxm
 > matrix and return a view of that matrix, but with size (n-1)xm or
 > nx(m-1).  I can make this with a simple loop but I've thinked this
 > could be in gsl because is a common operation in matrices.

GSL uses the standard LAPACK/BLAS memory model (contiguous memory), so
there is no way to remove a row/column from the middle of a matrix
without copying it.

regards,

-- 
Brian

Network Theory Ltd            
15 Royal Park                 
Bristol BS8 3AL               
United Kingdom                

Tel: +44 (0)117 3179309 
Fax: +44 (0)117 9048108              
Web: http://www.network-theory.co.uk/


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