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

« back to all changes in this revision

Viewing changes to man/linear/sqroot.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
sqroot            Scilab Group            Scilab Function            sqroot
 
2
NAME
 
3
   sqroot - W*W' hermitian factorization
 
4
  
 
5
CALLING SEQUENCE
 
6
 sqroot(X)
 
7
PARAMETERS
 
8
 X    : symmetric non negative definite real or complex matrix
 
9
      
 
10
DESCRIPTION
 
11
   returns W such that  X=W*W' (uses SVD).
 
12
  
 
13
EXAMPLE
 
14
 X=rand(5,2)*rand(2,5);X=X*X';
 
15
 W=sqroot(X)
 
16
 norm(W*W'-X,1)
 
17
 //
 
18
 X=rand(5,2)+%i*rand(5,2);X=X*X';
 
19
 W=sqroot(X)
 
20
 norm(W*W'-X,1)
 
21
SEE ALSO
 
22
   chol, svd  
 
23