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

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

[Octave-bug-tracker] [bug #53321] Symbolic creates an oversize ( ), mult


From: anonymous
Subject: [Octave-bug-tracker] [bug #53321] Symbolic creates an oversize ( ), multiplication is not carried out appropriately
Date: Sun, 11 Mar 2018 04:44:34 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

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

                 Summary: Symbolic creates an oversize ( ), multiplication is
not carried out appropriately
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 11 Mar 2018 08:44:32 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Using:
symbolic v2.6.0
sympy v1.1.1 

Doing the following:


syms l b a d 
X_p=[cos(l)*cos(b);sin(l)*cos(b); sin(b)];
X=[cos(a)*cos(d);sin(a)*cos(d); sin(d)];
R_mat=X_p*X';
S_mat=X*X_p';


R_mat and S_mat gives values with ()'s and large ()'s

This presents a problem when trying:


S_mat*X_p


Since it cannot tell that sin(b) and sin large (b) are the same
the multiplication does not become sin^2(b)





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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