[Top][All Lists]

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

[Octave-bug-tracker] [bug #49444] tilde output argument requires comma f

From: Francesco Potortì
Subject: [Octave-bug-tracker] [bug #49444] tilde output argument requires comma for parsing
Date: Thu, 27 Oct 2016 17:13:16 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #9, bug #49444 (project octave):

Note that in the above expressions, the comma can be omitted in the list of
output args, so for example

     [a, b] = [u, s, v] = svd (a)

is equivalent to

     [a b] = [u, s, v] = svd (a)

However, when using a tilde (~) as a placeholder for an output arg, you cannot
omit commas between args.  The reason is that the tilde is also a negation
operator and the comma is needed to distinguish the two uages.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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