hessenberg (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: linalgebra

Requires: MathScript RT Module

Syntax

h = hessenberg(a)

[t, h] = hessenberg(a)

Legacy Name: hess

Description

Converts a matrix to Hessenberg form and returns the unitary transformation matrix. The Hessenberg form of a matrix has elements equal to 0 below the first subdiagonal.

Details

Examples

Inputs

Name Description
a Specifies a square matrix.

Outputs

Name Description
h Returns a in Hessenberg form. h is a matrix of the same size as a. If a is a symmetric or Hermitian matrix, h is tridiagonal.
t Returns the unitary transformation matrix. t is a matrix of the same size as a.

Details

The Hessenberg matrix h satisfies the following unitary similarity transformation: a = t*h*t' with t*t' = t'*t = eye(size(a)).

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A = [2, -4, 7; -1, 9, 0; -4, -7, 3]
[H, T] = hessenberg(A)
C = T*H*T'
D = T*T'

文章是否对您有帮助?

没有帮助