[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57609] Documentation of gcd
From: |
Michael Leitner |
Subject: |
[Octave-bug-tracker] [bug #57609] Documentation of gcd |
Date: |
Thu, 16 Jan 2020 03:10:24 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<https://savannah.gnu.org/bugs/?57609>
Summary: Documentation of gcd
Project: GNU Octave
Submitted by: mleitner
Submitted on: Thu 16 Jan 2020 08:10:22 AM UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: Any
_______________________________________________________
Details:
At present, the documentation of gcd reads "If more than one argument is given
then all arguments must be the same size or scalar." However, the function
definition given in the help text defines only the multi-element syntax, which
is borne out by trying
gcd([4,6])
which returns
error: Invalid call to gcd. Correct usage is:
-- G = gcd (A1, A2, ...)
-- [G, V1, ...] = gcd (A1, A2, ...)
So please just change the sentence referenced above to "All arguments must be
the same size or scalar."
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57609>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57609] Documentation of gcd,
Michael Leitner <=