Re: [Maxima] How can I calculate the matrix's exponential?



hi maxio

you can use diag package.

(%i1) load("diag.mac");
Warning - you are redefining the MACSYMA function EIGENVALUES
Warning - you are redefining the MACSYMA function EIGENVECTORS
(%o1)                              diag.mac
(%i2) a:Matrix([b,c],[0,d])$
(%i3) mat_function(exp,a);
                            [          d     b   ]
                            [   b  c %E    %E  c ]
                            [ %E   ----- - ----- ]
(%o3)                       [      d - b   d - b ]
                            [                    ]
                            [             d      ]
                            [  0        %E       ]
 gosei


> By using   
>    a:Matrix([b,c],[0,d]);
>    e^a;
> 
> I cannot get the wanted result, Please tell me how to get its result?  
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>