bugGNU Octave - Bugs: bug #36439, Binary functions equivalent to...

 
 

bug #36439: Binary functions equivalent to infix operators not documented anywhere

Submitted by:  Alexander Klein <matalex>
Submitted on:  Wed 09 May 2012 08:10:04 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 28 Dec 2014 02:59:58 PM UTC, comment #4:

Added extra documentation about the benefits of handles to operator functions in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/51a1d1164449). Closing report.

Rik <rik5>
Project Administrator
Fri 01 Jun 2012 03:08:24 PM UTC, comment #3:

I just did some benchmarking which helps support the idea of better documentation.

Rik <rik5>
Project Administrator
Fri 11 May 2012 11:14:15 AM UTC, comment #2:

Yes, I think it would be very useful to cross-reference this list in the documentation of cellfun, maybe also in feval, and add a note to the section on anonymous functions stating that there is no need to write something like @(x,y)x+y when @plus will do as well, and especially faster, IIRC.

I'll try to write that up next week, too, and then submit an updated text along with what I'll write for boolean indexing.

Alexander Klein <matalex>
Wed 09 May 2012 01:29:42 PM UTC, comment #1:

Is this the list you want?

http://www.gnu.org/software/octave/doc/interpreter/Operator-Overloading.html

Perhaps it should just be cross-referenced more.

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Wed 09 May 2012 08:10:04 AM UTC, original submission:

The binary functions "plus", "minus", "times", "power", "eq", "ne", ”ge, "gt", "le", "lt", "or", "and", as well as "not" all don't seem to show up in the manual, at least with 3.6.1 they don't bring up anything useful as arguments for the doc command.

I think they should be mentioned at least in the operators section as well as in conjunction with cellfun and accumarray.

Are there any more functions like this? Once the list is complete I think I can write up the appropriate sections myself and submit them for inclusion in the manual.

Alexander Klein <matalex>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by matalex (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Dec 2014 02:59:58 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Mon 29 Jul 2013 05:09:16 PM UTCmtmillerCategoryNone=>Documentation
      Release3.6.1=>dev
    Wed 09 May 2012 01:29:42 PM UTCjordighStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1