~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/linear/nlev.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
nlev             Scilab Group             Scilab Function              nlev
 
2
NAME
 
3
   nlev - Leverrier's algorithm 
 
4
  
 
5
CALLING SEQUENCE
 
6
 [num,den]=nlev(A,z [,rmax])  
 
7
PARAMETERS
 
8
 A      : real square matrix
 
9
        
 
10
 z      : character string
 
11
        
 
12
 rmax   : optional parameter (see bdiag) 
 
13
        
 
14
DESCRIPTION
 
15
   computes:
 
16
  
 
17
 (z*eye()-A)^(-1) 
 
18
   by block diagonalization of A followed by Leverrier's algorithm on each
 
19
  block.
 
20
  
 
21
REMARK
 
22
   This algorithm is better than the usual leverrier algorithm but still not
 
23
  perfect!
 
24
  
 
25
EXAMPLE
 
26
 A=rand(3,3);x=poly(0,'x');
 
27
 [NUM,den]=nlev(A,'x')
 
28
 clean(den-poly(A,'x'))
 
29
 clean(NUM/den-inv(x*eye()-A))
 
30
SEE ALSO
 
31
   coff, coffg, glever, ss2tf
 
32
  
 
33
AUTHOR
 
34
   F. D., S. S. 
 
35