octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #54283] Object sizes documentation : [rows, c


From: anonymous
Subject: [Octave-bug-tracker] [bug #54283] Object sizes documentation : [rows, cols, …, dim_N_sz] = size (…)
Date: Tue, 10 Jul 2018 16:25:34 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; CMCEXP1; CMCEW7; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?54283>

                 Summary: Object sizes documentation  : [rows, cols, …,
dim_N_sz] = size (…)
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 10 Jul 2018 08:25:30 PM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: Pierre Labrèche
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

https://octave.org/doc/v4.2.0/Object-Sizes.html
3.3 Object Sizes
[...
: sz = size (a): dim_sz = size (a, dim): [rows, cols, …, dim_N_sz] = size
(…)
# Example 4: number of output arguments  is less than the number of dimensions


Two issues : 

1) missing parenthesis in "[nr, remainder] = size (ones (2, 3, 4, 5))"

2) The text "Example 4: number of output arguments != number of dimensions" 
should read "Example 4: number of output arguments <  number of dimensions" 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54283>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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