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


bug #58675: [octave forge] (symbolic) abs(sin(x)) is not integrated

Submitted by:  Pavel Stříž <malipivo>
Submitted on:  Mon 29 Jun 2020 01:10:09 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  5.2.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

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


Tue 30 Jun 2020 09:29:02 PM UTC, comment #3: 

You are working with a very old version of the symbolic package, version 2.6.0 was released 3 years ago and many improvements have been made since then. It's possible that this specific issue was present in that version, but has been fixed since then.

Closing this bug as fixed. If you are still able to reproduce this bug in a current version of the package, please feel free to comment here again or file a new bug report.

Mike Miller <mtmiller>
Project Administrator
Tue 30 Jun 2020 09:07:17 PM UTC, comment #2: 

I got these messages:

pGNU Octave, version 5.2.0
Copyright (C) 2020 John W. Eaton and others.
This is free software; see the source code for copying conditions.
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

kg loctave:1> pkg load symbolic;
octave:2> syms x;
OctSymPy v2.6.0: this is free software without warranty, see source.
Initializing communication with SymPy using a popen2() pipe.
Some output from the Python subprocess (pid 121910) might appear next.
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

OctSymPy: Communication established.  SymPy v1.1.1.
octave:3> f=abs(sin(x));
octave:4> F=int(f,x,0,2*pi)
warning: passing floating-point values to sym is dangerous, see "help sym"
warning: called from
    double_to_sym_heuristic at line 50 column 7
    sym at line 373 column 13
    int at line 138 column 7
F = (sym)

   ⎮  │sin(x)│ dx

Pavel Stříž <malipivo>
Tue 30 Jun 2020 08:55:01 PM UTC, comment #1: 

This example works for me. Can you show what results, errors, or warnings you get when attempting this?

Mike Miller <mtmiller>
Project Administrator
Mon 29 Jun 2020 01:10:09 PM UTC, original submission:  

Hello, I just wanted to let you know, that

pkg load symbolic;
syms x;

is not producing expected value of 4.

Best Regards, Pavel

Pavel Stříž <malipivo>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by malipivo (Submitted the item)

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

    Only project members can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-30 mtmiller StatusWorks For Me => Fixed
        Open/ClosedOpen => Closed
    2020-06-30 mtmiller StatusNone => Works For Me
        Summary[symbolic pkg] abs(sin(x)) is not integrated => [octave forge] (symbolic) abs(sin(x)) is not integrated
    2020-06-30 rik5 Carbon-CopyRemoved 72865 => -
    2020-06-30 rik5 CategoryLibraries => Octave Forge Package
        Summaryabs(sin(x)) is not integrated => [symbolic pkg] abs(sin(x)) is not integrated

    Back to the top

    Powered by Savane 3.5