Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Domxexpt Calculator

Domxexpt

-- 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)>.

M: matrix ([-(lambda+nu), lambda, nu], [mu, -(mu + gamma*nu), gamma*nu], [0, 0, 0]);
domxexpt: true;
exp(M);
domxexpt: false;
exp(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)    ]

(%o1)                                true
(%i2) 

Domxexpt Example

Related Examples

domxexpt-false-matrix

A: matrix ([0, 1], [ ...

At = A*dt;

domxexpt: false;

Calculate

domxexpt-matrix-true

A: matrix ([0, 1], [ ...

At = A*dt;

domxexpt: true;

Calculate

domxexpt-matrix-true

matrix ([1, 0], [0, 0]);

domxexpt: true;

Calculate

domxexpt-matrix-true

M: matrix ([-(lambda+...

domxexpt: true;

exp(M);

Calculate

domxexpt-matrix-true

A: matrix ([0, 1], [ ...

At = A*dt;

domxexpt: true;

Calculate

domxexpt-false-matrix

A: matrix ([0, 1], [ ...

At = A*dt;

domxexpt: false;

Calculate

domxexpt-matrix-true

M: matrix ([-(lambda+...

domxexpt: true;

exp(M);

Calculate

domxexpt-matrix-true

A: matrix ([0, 1], [ ...

At = A*dt;

domxexpt: true;

Calculate