[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: specifying one matrix index instead of two
From: |
Sergei Steshenko |
Subject: |
Re: specifying one matrix index instead of two |
Date: |
Fri, 29 Jun 2012 17:44:32 -0700 (PDT) |
----- Original Message -----
> From: c. <address@hidden>
> To: Sergei Steshenko <address@hidden>
> Cc: Octave users list <address@hidden>
> Sent: Saturday, June 30, 2012 3:37 AM
> Subject: Re: specifying one matrix index instead of two
>
[snip]
>> Is it because of compatibility with Matlab ?
>
> Yes.
>
>> ...
>>
>> My point is that at the moment I am adding a dimension (vector -> 2d
> matrix), so I'd rather receive an error message in case I forget to add
> index, i.e. in case I forget to convert bar(L) -> bar(K,L).
>>
>> Thanks,
>> Sergei.
>
Is there a way to enable warnings for such cases ?
Thanks,
Sergei.