[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57609] Documentation of gcd
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57609] Documentation of gcd |
Date: |
Fri, 17 Jan 2020 11:23:59 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #57609 (project octave):
Status: None => Fixed
Open/Closed: Open => Closed
Release: 5.1.0 => dev
_______________________________________________________
Follow-up Comment #1:
I made the change and a bit more to the documentation. It now reads
-- G = gcd (A1, A2, ...)
-- [G, V1, ...] = gcd (A1, A2, ...)
Compute the greatest common divisor of A1, A2, ....
All arguments must be the same size or scalar. For arrays, the
greatest common divisor is calculated for each element
individually. All elements must be ordinary or Gaussian (complex)
integers. Note that for Gaussian integers, the gcd is only unique
up to a phase factor (multiplication by 1, -1, i, or -i), so an
arbitrary greatest common divisor among the four possible is
returned.
Thanks for noticing this.
Marking as fixed and closing report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57609>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/