Input Arguments

A — Basescalar | matrix

Base, specified as a scalar or matrix. Inputs A and B must
be one of the following:

Base A is a square matrix and exponent B is
a scalar. If B is a positive integer, the power
is computed by repeated squaring. For other values of B the
calculation involves eigenvalues and eigenvectors.

Base A is a scalar and exponent B is
a square matrix. The calculation uses eigenvalues and eigenvectors.

B — Exponentscalar | matrix

Exponent, specified as a scalar or matrix. Inputs A and B must
be one of the following:

Base A is a square matrix and exponent B is
a scalar. If B is a positive integer, the power
is computed by repeated squaring. For other values of B the
calculation involves eigenvalues and eigenvectors.

Base A is a scalar and exponent B is
a square matrix. The calculation uses eigenvalues and eigenvectors.