[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] excluding numbers

From: Theodore Kypraios
Subject: [Help-gsl] excluding numbers
Date: Tue, 25 Nov 2003 22:09:17 -0000

Hello everyone,

I am a new C (and GSL) user!  I want to ask you if you are aware of a
function like:

I have three vectors: old, new,  ind ;

- I have gsl_vector (gsl_vector * old)  and I want to create another
gsl_vector (gsl_vector * new) which will contain all the values of
vector -old-  excluding the values which are in the position defined by
vector -ind-.

eg. I have :
old = [ 1,2,3,4,5,6,7 ]
ind = [ 4,6 ]

and I want to get:  --- new = [ 1,2,3,5,7 ]  ---

I was searching in the GSL (help pages) but I could find something

Thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]