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

« back to all changes in this revision

Viewing changes to man/linear/glever.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
glever            Scilab Group            Scilab Function            glever
 
2
NAME
 
3
   glever - inverse of matrix pencil 
 
4
  
 
5
CALLING SEQUENCE
 
6
 [Bfs,Bis,chis]=glever(E,A [,s])
 
7
PARAMETERS
 
8
 E, A         : two real square matrices of same dimensions
 
9
              
 
10
 s            : character string (default value 's')
 
11
              
 
12
 Bfs,Bis      : two polynomial matrices
 
13
              
 
14
 chis         : polynomial
 
15
              
 
16
DESCRIPTION
 
17
   Computation of 
 
18
  
 
19
   (s*E-A)^-1
 
20
  
 
21
    by generalized Leverrier's algorithm for a matrix pencil.
 
22
  
 
23
 (s*E-A)^-1 = (Bfs/chis) - Bis.
 
24
   chis = characteristic polynomial (up to a multiplicative constant).
 
25
  
 
26
   Bfs  = numerator polynomial matrix.
 
27
  
 
28
   Bis = polynomial matrix ( - expansion of (s*E-A)^-1 at infinity).
 
29
  
 
30
   Note the - sign before Bis. 
 
31
  
 
32
CAUTION
 
33
   This function uses cleanp to simplify Bfs,Bis and chis.
 
34
  
 
35
EXAMPLE
 
36
 s=%s;F=[-1,s,0,0;0,-1,0,0;0,0,s-2,0;0,0,0,s-1];
 
37
 [Bfs,Bis,chis]=glever(F)
 
38
 inv(F)-((Bfs/chis) - Bis)
 
39
AUTHOR
 
40
   F. D. (1988)
 
41
  
 
42
SEE ALSO
 
43
   rowshuff, det, invr, coffg, pencan, penlaur 
 
44