help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange syntax


From: bigmealy
Subject: Re: Strange syntax
Date: Wed, 28 Nov 2012 03:13:46 -0800 (PST)

Sergei Steshenko-2 wrote
> ----- Original Message -----
>> From: bigmealy <

> martin.taylor@

> >
>> To: 

> help-octave@

>> Cc: 
>> Sent: Wednesday, November 28, 2012 12:55 PM
>> Subject: Strange syntax
>> 
>> Hi,
>> 
>> I am currently trying to understand what is happening in line 59 of the
>> file
>> delaunayn.m
>> Firstly, I can't find any documentation around "__delaunayn__" as 
>> a seperate
>> function, so I can only assume that it's some special syntax relating to
>> the
>> function itself. Can anyone shed any light?
>> I've also tried applying the curly braces modifier to my data to see what
>> the effect there is, but it tells me "matrix cannot be indexed with 
>> {".
>> Again, can anyone shed any light?
>> 
>> Many thanks,
>> 
>> Bigmealy
>> 
>>     53 function T = delaunayn (pts, varargin)
>>     54 
>>     55   if (nargin < 1)
>>     56     print_usage ();
>>     57   endif
>>     58 
>>     59   T = __delaunayn__ (pts, varargin{:});
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://octave.1599824.n4.nabble.com/Strange-syntax-tp4647311.html
>> Sent from the Octave - General mailing list archive at Nabble.com.
>> _______________________________________________
>> Help-octave mailing list
>> 

> Help-octave@

>> https://mailman.cae.wisc.edu/listinfo/help-octave
>>
> 
> Regarding '{:}' - look up cell arrays in Octave documentation.
> 
> Regarding '__delaunayn__' - it's a "private" function not intended to be
> used directly by end user, that's why it is not documented.
> 
> Regards,
>   Sergei.

Hi Sergei,

Many thanks for the information. A great help to me.

BM



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Strange-syntax-tp4647311p4647313.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]