[Top][All Lists]

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

[Octave-bug-tracker] [bug #55985] small patch for 5.1.0 document

From: anonymous
Subject: [Octave-bug-tracker] [bug #55985] small patch for 5.1.0 document
Date: Sat, 23 Mar 2019 02:22:49 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0


                 Summary: small patch for 5.1.0 document
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 23 Mar 2019 06:22:47 AM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Any



In the mat2cell docstring header, the variable "d?" has been renamed to "dim?"
in changeset https://hg.savannah.gnu.org/hgweb/octave/rev/b326eeae92d0
but in the text, there is still one "di" left.
Here is a patch for this:

--- a/libinterp/corefcn/cellfun.cc
+++ b/libinterp/corefcn/cellfun.cc
@@ -2112,7 +2112,7 @@
 integers which specifies how to divide that dimension's elements amongst the
 new elements in the output @var{C}.  The number of elements in the
 dimension is @code{size (@var{A}, @var{i})}.  Because all elements in
-must be partitioned, there is a requirement that @code{sum (@var{di}) ==
+must be partitioned, there is a requirement that @code{sum (@var{dimi}) ==
 (@var{A}, i)}.  The size of the output cell @var{C} is numel (@var{dim1}) x
 numel (@var{dim2}) x @dots{} x numel (@var{dimn}).

And here is another small patch for polyeig.m

--- a/scripts/polynomial/polyeig.m
+++ b/scripts/polynomial/polyeig.m
@@ -29,8 +29,8 @@
 ## @code{polyeig} solves the eigenvalue problem
-## @code{(@var{C0} + @var{C1} @var{z} + @dots{} + @var{Cl} address@hidden) 
-## 0}.
+## @code{(@var{C0} + @var{C1} @var{z} + @dots{} + @var{Cl} @address@hidden)
+## @var{v} = 0}.
 ## Note that the eigenvalues @var{z} are the zeros of the matrix polynomial.
 ## @var{z} is a row vector with @address@hidden@var{l}} elements.  @var{v} is


Reply to this item at:


  Message sent via Savannah

reply via email to

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