[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Array slicing in Octave
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Array slicing in Octave |
Date: |
Sun, 15 May 2011 09:45:13 -0500 |
On 15 May 2011 01:22, Hamid 2C <address@hidden> wrote:
> Thanks for your answer. Assignments like the one I mentioned before
> invoke one of these assign functions but how can I invoke index
> functions in Array.cc from the octave interpret?
> Commands like the ones below does not invoke any of those index
> functions. I couldn't find any command that triggers them. I just wish
> to know the role of these index functions.
>
> octave:1> b=1:10
> b =
>
> 1 2 3 4 5 6 7 8 9 10
>
> octave:2> b(2:6)
> ans =
>
> 2 3 4 5 6
That's likely to invoke the const versions of Array<t>::index (...).
Did you put breakpoints in there too? That seems to work for me.
- Jordi G. H.
- Array slicing in Octave, Hamid 2C, 2011/05/06
- Re: Array slicing in Octave, David Bruce, 2011/05/10
- Re: Array slicing in Octave, Jordi Gutiérrez Hermoso, 2011/05/11
- Re: Array slicing in Octave, Hamid 2C, 2011/05/12
- Re: Array slicing in Octave, Hamid 2C, 2011/05/14
- Re: Array slicing in Octave, John W. Eaton, 2011/05/14
- Re: Array slicing in Octave, Hamid 2C, 2011/05/15
- Re: Array slicing in Octave,
Jordi Gutiérrez Hermoso <=
- Message not available
- Array slicing in Octave, Hamid 2C, 2011/05/16
- Re: Array slicing in Octave, Jordi Gutiérrez Hermoso, 2011/05/16
- Re: Array slicing in Octave, Hamid 2C, 2011/05/16