| Author |
Comment/Response |
yehuda ben-shimol
|
10/02/07 07:39am
Hi,
I'm not sure that there is a package, but if all goes right for scalars, you can replace the scalars operators for Times and Power with their matrix equivalents
say, for scalars you need to solve a==b+c x
Solve[a==b+c x,x]
which returns
{{x -> (a - b)/c}}
or in FullForm format
Solve[a==b+c x,x]//fullForm
now, replace Times with Dot and Power with MatrixPower , e.g.,
Solve[a==b+c x,x]/.{Times->Dot, Power-> MatrixPower}
You need to be more careful with definitions of operations between matrices and scalars, but this also can be done.
good luck
yehuda
URL: , |
|