MatrixPower - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


LinearAlgebra

  

MatrixPower

  

determine the matrix power A^(n), as a generalized matrix function, for a Matrix A

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

MatrixPower(A, n, options)

Parameters

A

-

square Matrix

n

-

numeric; scalar parameter

options

-

(optional); constructor options for the result object

Description

• 

The MatrixPower(A) command returns the Matrix power An. This is an example of a generalized Matrix function, F(A).

• 

The scalar parameter n can be any numeric value, not only an integer.

• 

The options option provides additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list.  If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).

• 

This function is part of the LinearAlgebra package, and so it can be used in the form MatrixPower(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[MatrixPower](..).

Examples

withLinearAlgebra:

AMatrix13,10,21,16

A−13−102116

(1)

MatrixPowerA,2

−41−306346

(2)

SQMatrixPowerA,12

SQ15142102+102122114+152

(3)

mapradnormal,SQ2

−13−102116

(4)

AMatrix3.0,1.0,2.0,6.0

A−3.0−1.02.06.0

(5)

MatrixPowerA,3,readonly

−27.−25.50.198.

(6)

See Also

LinearAlgebra

LinearAlgebra[MatrixFunction]

map

Matrix

radnormal

Vector