~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/linear/sylv.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
sylv             Scilab Group             Scilab Function              sylv
2
 
NAME
3
 
   sylv - Sylvester equation.
4
 
  
5
 
CALLING SEQUENCE
6
 
 sylv(A,B,C,flag)
7
 
PARAMETERS
8
 
 A,B,C        : three real matrices of appropriate dimensions.
9
 
              
10
 
 flag         character string ('c' or 'd')
11
 
              
12
 
DESCRIPTION
13
 
   computes X, solution of the "continuous time" Sylvester equation
14
 
  
15
 
 A*X+X*B=C 
16
 
   computes X, solution of the "discrete time" Sylvester equation
17
 
  
18
 
 A*X*B-X=C
19
 
EXAMPLE
20
 
 A=rand(4,4);C=rand(4,3);B=rand(3,3);
21
 
 X = sylv(A,B,C,'c');
22
 
 norm(A*X+X*B-C)
23
 
 X=sylv(A,B,C,'d') 
24
 
 norm(A*X*B-X-C)
25
 
SEE ALSO
26
 
   lyap 
27