You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing magicl from git :
in emacs with sbcl and sly :
(ql:quickload :magicl)
(magicl.backends:active-backends)
--> (:EXPOKIT :LAPACK :BLAS :LISP)
(defparameter a (magicl:from-list '(1.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 3.0) '(3 3))) a -->
#<MAGICL:MATRIX/DOUBLE-FLOAT (3x3):
1.000 0.000 0.000
0.000 2.000 0.000
0.000 0.000 3.000>
(magicl:logm a) -->
#<MAGICL:MATRIX/DOUBLE-FLOAT (3x3):
0.000 0.000 0.000
0.000 0.693 0.000
0.000 0.000 1.099>
now ,if i do :
(magicl:expm a) -->
MAGICL:EXPM is not implemented in any of the current active backends: EXPOKIT, LAPACK, BLAS, LISP.
[Condition of type MAGICL.BACKENDS:NO-APPLICABLE-IMPLEMENTATION]
the question is how to calculate the exponential of a matrix ?
What am I doing wrong ? I am trying to use magicl to learn robotics :) :)
The text was updated successfully, but these errors were encountered:
stylewarning
changed the title
MAGICL:EXPM doesn't work on single- or double-float matrices
MAGICL:EXPM doesn't work on SINGLE-FLOAT or (COMPLEX SINGLE-FLOAT) matrices
Sep 14, 2021
After installing magicl from git :
in emacs with sbcl and sly :
(ql:quickload :magicl)
(magicl.backends:active-backends)
--> (:EXPOKIT :LAPACK :BLAS :LISP)
(defparameter a (magicl:from-list '(1.0 0.0 0.0 0.0 2.0 0.0 0.0 0.0 3.0) '(3 3)))
a -->
#<MAGICL:MATRIX/DOUBLE-FLOAT (3x3):
1.000 0.000 0.000
0.000 2.000 0.000
0.000 0.000 3.000>
(magicl:logm a) -->
#<MAGICL:MATRIX/DOUBLE-FLOAT (3x3):
0.000 0.000 0.000
0.000 0.693 0.000
0.000 0.000 1.099>
now ,if i do :
(magicl:expm a) -->
MAGICL:EXPM is not implemented in any of the current active backends: EXPOKIT, LAPACK, BLAS, LISP.
[Condition of type MAGICL.BACKENDS:NO-APPLICABLE-IMPLEMENTATION]
the question is how to calculate the exponential of a matrix ?
What am I doing wrong ? I am trying to use magicl to learn robotics :) :)
The text was updated successfully, but these errors were encountered: