Option variable
domxexpt
Default value: true
When domxexpt
is true
,
a matrix exponential, exp (M)
where M is a matrix,
is interpreted as a matrix with element [i,j
equal to exp (m[i,j])
.
Otherwise exp (M)
evaluates to exp (ev(M)
.
domxexpt
affects all expressions of the form base^power
where base is an
expression assumed scalar or constant, and power is a list or
matrix.
Example:
(%i1) m: matrix ([1, %i], [a+b, %pi]); [ 1 %i ] (%o1) [ ] [ b + a %pi ] (%i2) domxexpt: false$ (%i3) (1 - c)^m; [ 1 %i ] [ ] [ b + a %pi ] (%o3) (1 - c) (%i4) domxexpt: true$ (%i5) (1 - c)^m; [ %i ] [ 1 - c (1 - c) ] (%o5) [ ] [ b + a %pi ] [ (1 - c) (1 - c) ]