bugAxiom Computer Algebra System - Bugs: bug #9968, problems with exponentiation of...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9968: problems with exponentiation of matrices

Submitter:  Martin Rubey <kratt6>
Submitted:  Wed 11 Aug 2004 10:35:11 AM UTC
   
 
Category:  interpreter Severity:  3 - Normal
Item Group:  code bug Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  kratt6 Open/Closed:  Open
Release:  9.6.2004 Reproducibility:  None
Fixed Release: 
Error message: 

There should be an error message, instead a nonsense-result is spit out...

Example of code trigerring the bug: 

matrix([[0,0],[0,0]]) ^ 0.1
matrix([[0,0],[0,0]]) ^ x

Internal cause: 


Wed 11 Aug 2004 10:35:11 AM UTC, original submission:  

(1) -> matrix([[0,0],[0,0]]) ^ 0.1

   (1)  0.0
                                                                  Type: Float

(2) -> matrix([[0,0],[0,0]]) ^ x
         x
   (2)  0
Type: Expression Integer

but (fortunately)

(3) matrix([[0,0],[0,1]]) ^ 0.1
   There are 4 exposed and 0 unexposed library operations named ^
      having 2 argument(s) but none was determined to be applicable.
      Use HyperDoc Browse, or issue
                                )display op ^
      to learn more about the available operations. Perhaps
      package-calling the operation or using coercions on the arguments
      will allow you to apply the operation.

   Cannot find a definition or applicable library operation named ^
      with argument type(s)
                               Matrix Integer
                                    Float

      Perhaps you should use "@" to indicate the required return type,
      or "$" to specify which version of the function you need.

So it seems to happen only with the zero matrix.


Martin Rubey <kratt6>

 

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

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 axiom (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-11-25 axiom Example of code trigerring the bugmatrix([[0,0],[0,0]]) ^ 0.1 matrix([[0,0],[0,0]]) ^ x matrix([[0,0],[0,0]]) ^ 0.1 matrix([[0,0],[0,0]]) ^ x

    Back to the top

    Powered by Savane 3.13-5190.
    Corresponding source code