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

« back to all changes in this revision

Viewing changes to man/linear/givens.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
givens            Scilab Group            Scilab Function            givens
 
2
NAME
 
3
   givens - Givens transformation
 
4
  
 
5
CALLING SEQUENCE
 
6
 U=givens(xy)
 
7
 U=givens(x,y)
 
8
 [U,c]=givens(xy)
 
9
 [U,c]=givens(x,y)
 
10
PARAMETERS
 
11
 x,y   : two real or complex numbers
 
12
       
 
13
 xy    :  real or complex size 2 column vector
 
14
       
 
15
 U     : 2x2 unitary matrix
 
16
       
 
17
 c     :  real or complex size 2 column vector
 
18
       
 
19
DESCRIPTION
 
20
   U = givens(x, y) or U = givens(xy) with xy = [x;y] returns a 2x2 unitary
 
21
  matrix U such that:
 
22
  
 
23
   U*xy=[r;0]=c.
 
24
  
 
25
   Note that givens(x,y) and givens([x;y]) are equivalent.
 
26
  
 
27
EXAMPLE
 
28
 A=[3,4;5,6];
 
29
 U=givens(A(:,1));
 
30
 U*A
 
31
SEE ALSO
 
32
   qr   
 
33