bugGNU Octave - Bugs: bug #46662, [octave forge] (symbolic)...

 
 

bug #46662: [octave forge] (symbolic) requesting better error message from taylor, possibly other functions?

Submitted by:  Nicholas Jankowski <nrjank>
Submitted on:  Thu 10 Dec 2015 09:05:12 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: NoneAssigned to: None
Originator Name: Nicholas JankowskiOpen/Closed: Open
Release: 4.0.0Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 14 Dec 2015 07:58:24 PM UTC, comment #5:

I agree this would be a good change in Octave, but to re-iterate what @jwe and others have said: this isn't a problem that can be fixed the symbolic package. This is because the "@sym/taylor.m" code is only run when at least one input is symbolic type.

Colin Macdonald <cbm>
Thu 10 Dec 2015 10:50:48 PM UTC, comment #4:

The thing that needs to happen is a change to Octave, not individual function files.

John W. Eaton <jwe>
Project Administrator
Thu 10 Dec 2015 10:35:57 PM UTC, comment #3:

ok. I didn't know if there was something specific that had to be done for it to set off a

'xyz' not defined for class 'foo'

type of error instead.

Nicholas Jankowski <nrjank>
Thu 10 Dec 2015 10:28:49 PM UTC, comment #2:

This is not the kind of change that needs or even should be made to individual functions. It's a generic problem with the way the Octave looks up functions compared to the way that Matlab appears to do it now, even for built-in functions.

John W. Eaton <jwe>
Project Administrator
Thu 10 Dec 2015 10:21:55 PM UTC, comment #1:

minor comment, this is also one of those cases where the first error could be more helpful by giving a "hey, you need to load the package with 'taylor' in it" message.

Nicholas Jankowski <nrjank>
Thu 10 Dec 2015 09:05:12 PM UTC, original submission:

when calling taylor from the symbolic package with an incorrect argument type, it produces an error message that makes it seem more like the function isn't loaded than that it just isn't being called correctly. Don't know if this also applies to other functions/packages in Octave / Octave Forge:

run in Octave 4.0.0 on Windows , symbolic package 2.2.2

Also, FYI calling taylor in Matlab with a non-symbolic argument provides the following feedback:

Undefined function 'taylor' for input arguments of type 'double'.

Seems like Octave should give a type error, too, here.

related to this help discussion thread:
http://octave.1599824.n4.nabble.com/Taylor-expansion-does-not-expand-well-tp4673968.html

Nicholas Jankowski <nrjank>

 

(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 cbm (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by nrjank (package maintainer)
  • -unavailable- added by nrjank (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Aug 2017 01:49:57 PM UTCjweSummaryrequesting better error message from taylor in symbolic, possibly other functions?=>[octave forge] (symbolic) requesting better error message from taylor, possibly other functions?
    Thu 10 Dec 2015 10:21:55 PM UTCnrjankCarbon-Copy-=>Added cbm

    Back to the top


    Powered by Savane 3.1-cleanup1