[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] excluding numbers
From: |
Jerome BENOIT |
Subject: |
Re: [Help-gsl] excluding numbers |
Date: |
Wed, 26 Nov 2003 13:39:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 |
Hello,
the vectors here sound like the GiNaC class `lst':
http://www.ginac.de/tutorial/tutorial_4.html#SEC23
hth,
Jerome
>
> Theodore Kypraios wrote:
>
>> 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
>> relevant.
>>
>> Thanks in advance,
>> THeo.
>>
>>
>>
>> _______________________________________________
--
Jerome BENOIT, Ph.D.
address@hidden