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

 
 

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

bug #9968: problems with exponentiation of matrices

Submitted by:  Martin Rubey <kratt6>
Submitted on:  Wed 11 Aug 2004 10:35:11 AM UTC  
 
Category: interpreterSeverity: 3 - Normal
Item Group: code bugStatus: None
Privacy: PublicAssigned to: None
Originator Name: kratt6Open/Closed: Open
Release: 9.6.2004Reproducibility: 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>

 

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 axiom (Updated 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 logged-in users can vote.

     

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Nov 2008 04:44:38 AM UTCaxiomExample 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.1-cleanup