Ah of course. Thank you both for your help.
Christophe
On Mar 25, 4:00 pm, Jason Grout wrote:
> Johan Oudinet wrote:
> > On Wed, Mar 25, 2009 at 11:39 AM, Christophe Oosterlynck
> > wrote:
> >> Any comments on this?
>
> >> it's really strange that when getting a vector from the matrix a
>
> >>
Johan Oudinet wrote:
> On Wed, Mar 25, 2009 at 11:39 AM, Christophe Oosterlynck
> wrote:
>> Any comments on this?
>>
>> it's really strange that when getting a vector from the matrix a
>>
b = a[:,0]
>>> you have to use an extra index when you want to select an element from
>> that vector b:
On Wed, Mar 25, 2009 at 11:39 AM, Christophe Oosterlynck
wrote:
>
> Any comments on this?
>
> it's really strange that when getting a vector from the matrix a
>
>>> b = a[:,0]
>> you have to use an extra index when you want to select an element from
> that vector b:
>
>>> b[0][0]
>
> instead of j
Any comments on this?
it's really strange that when getting a vector from the matrix a
>> b = a[:,0]
you have to use an extra index when you want to select an element from
that vector b:
>> b[0][0]
instead of just b[0] (this gives a list with 1 element...)
Christophe
On Mar 19, 3:39 pm, Chr