[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: var(1) = 0 ??
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: var(1) = 0 ?? |
Date: |
Sat, 28 Jan 2012 12:38:45 -0500 |
On 28 January 2012 11:11, pathematica <address@hidden> wrote:
> After a little reflection, I note that the proposed inclusion reads well
> (alerting to behaviour based on the number of elements in the set passed to
> it) but, whilst the description of the change is true ("behaviour when input
> is a scalar"), it is not comprehensive. For example, the dialogue at the
> terminal shown above demonstrates "behaviour when input is a vector of order
> one" as well behaviour when it is a scalar.
As far as the Octave interpreter is concerned, there is no difference
between scalars and vectors. You can use typeinfo to get the
"internal" type that Octave is using to represent a variable, but this
is mostly a debugging tool.
- Jordi G. H.
- Re: var(1) = 0 ??, (continued)
- Re: var(1) = 0 ??, c., 2012/01/28
- Re: var(1) = 0 ??, pathematica, 2012/01/28
- Re: var(1) = 0 ??, c., 2012/01/28
- Re: var(1) = 0 ??, pathematica, 2012/01/28
- Re: var(1) = 0 ??, pathematica, 2012/01/28
- Re: var(1) = 0 ??, c., 2012/01/28
- Re: var(1) = 0 ??,
Jordi Gutiérrez Hermoso <=