Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: math

Quantlet: eisrg
Description: Computes the eigenvalues and eigenvectors of a real general matrix

Usage: {wr, wi, z} = eisrg(a)
Input:
a n x n matrix
Output:
wr n x 1 vector of real eigenvalues
wi n x 1 vector of imaginary eigenvalues
z n x n matrix of eigenvectors.

Note:

Example:



library("math")

a = #(2, -2)~#(4, 6)

{wr, wi, z} = eisrg(a)

wr

wi

z

Result:

Contents of wr

[1,]        4 

[2,]        4 

Contents of wi

[1,]        2 

[2,]       -2 

Contents of z

[1,]        1        1 

[2,]        0        1 


Library: math

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Fabian Noetzel
(C) MD*TECH Method and Data Technologies, 21.9.2000