LinearAlgebra - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : Solvers : LinearAlgebra/SchurForm

LinearAlgebra

  

SchurForm

  

reduce a square Matrix to Schur form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SchurForm(A, out, ip, options, outopts)

Parameters

A

-

square Matrix

out

-

(optional) equation of the form output = obj where obj is one of 'T' or 'Z', or a list containing one or more of these names; selects result objects to compute

ip

-

(optional) BooleanOpt(inplace); specifies if output overwrites input

options

-

(optional); constructor options for the result object(s)

outopts

-

(optional) equation(s) of the form outputoptions[o] = list where o is 'T' or 'Z'; constructor options for the specified result object

Description

• 

The SchurForm(A) function returns a Matrix containing the Schur Form of A. This routine operates in the floating-point domain. Hence, the entries in Matrix A must necessarily be of type complex(numeric).

  

The reduction to Schur Form is done in two steps. First a reduction to upper Hessenberg Form is performed, and then a further reduction to Schur Form is performed. If the Matrix argument has the Hessenberg[upper] indexing function, then the initial step is skipped.

  

For a real Matrix A, the Schur Form is an upper quasi-triangular Matrix T with 1 X 1 or 2 x 2 blocks on its diagonal. The blocks correspond to either eigenvalues, or complex conjugate pairs of eigenvalues, of the Matrix argument A. The real Schur Vectors comprise the columns of the reducing orthogonal Matrix Z such that  A=ZTZ+.

  

For a complex Matrix A, the Schur Form is an upper triangular Matrix T with the eigenvalues of A on its diagonal. The complex Schur Vectors comprise the columns of the reducing unitary Matrix Z such that  A=ZTZ*.

• 

If the Matrix A does not have a floating-point datatype, then a working copy which does is made in agreement with the environment variable UseHardwareFloats.

• 

The output option (out) determines the content of the returned expression sequence.  Depending on what is included in the output option, an expression sequence containing one or more of the factors T (the Schur form) and Z (the reduction Matrix). If output is a list, the objects are returned in the same order as specified in the list.

• 

The inplace option (ip) determines where the result is returned. If given as inplace=true, the result overwrites the first argument. If given as inplace=false, or if this option is not included in the calling sequence, the result is returned in a new Matrix.

  

The condition inplace=true can be abbreviated to inplace.

  

The inplace option must be used with caution since, if the operation fails, the original Matrix argument may be corrupted.

• 

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

  

The following list indicates permissible values for index [o] of outputoptions with their corresponding meaning.

  

 

T

Schur form

Z

reducing Schur Vectors as columns of a Matrix

• 

The inplace and constructor options are mutually exclusive.

• 

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

Examples

withLinearAlgebra:

AMatrix3,1,2I,3,4,3,0,I,1,9,datatype=complexsfloat:

SchurFormA

3.381670406675811.73873155455341I3.175446815407151.40297257553206I1.327475298913050.241940219612752I0.+0.I1.27253014447447+1.36770446544023I0.2412400976813962.64695200223280I0.+0.I0.+0.I9.10914026220134+0.371027089113183I

(1)

SchurFormA,output='T','Z'

3.381670406675811.73873155455341I3.175446815407151.40297257553206I1.327475298913050.241940219612752I0.+0.I1.27253014447447+1.36770446544023I0.2412400976813962.64695200223280I0.+0.I0.+0.I9.10914026220134+0.371027089113183I,0.1567083172374210.372760653354651I0.8541808237531210.300968466854119I0.116316598238202+0.0524933318188473I0.742626478222309+0.523526369851161I0.05519038311679610.409344167496584I0.04326580834069160.0441077985187704I0.09590738890017570.0414707763030237I0.06653881419664600.0689714625419532I0.6452635934842590.750687928470336I

(2)

SchurFormHessenbergFormA,output='T','Z'

3.381670406675811.73873155455341I3.175446815407151.40297257553206I1.327475298913050.241940219612752I0.+0.I1.27253014447447+1.36770446544023I0.2412400976813962.64695200223280I0.+0.I0.+0.I9.10914026220134+0.371027089113183I,0.1567083172374210.372760653354651I0.8541808237531210.300968466854119I0.116316598238202+0.0524933318188473I0.7103953676053180.531156139851921I0.0702705730381899+0.380984141184685I0.2240425654132300.113708559027989I0.198308916899810+0.101868291827065I0.1025881497688090.138498752880978I0.8822873699930910.377040035442338I

(3)

B1,1,1|1,1,0|1,0,1:

T,ZSchurFormB,output='T','Z':

mapfnormal,Z.T.Z%T

1.1.0000000001.0000000001.0000000001.0000000000.1.0.1.

(4)

Mapfnormal,T

0.0.4142135624000000.2.414213562000000.0.0.0.1.

(5)

EigenvaluesB

1II

(6)

EigenvaluesT1..2,1..2

0.+0.999999999955207I0.0.999999999955207I

(7)

See Also

Hessenberg

LinearAlgebra[HessenbergForm]

LinearAlgebra[Transpose]

Matrix

type[BooleanOpt]

Vector

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam