# hessenberg (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info Download Help (Windows Only)

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'

Not Helpful