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.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | char Complex Number Support: Yes

B — Exponent scalar | 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.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | char Complex Number Support: Yes