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

« back to all changes in this revision

Viewing changes to man/linear/chsolve.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
chsolve           Scilab Group           Scilab Function            chsolve
 
2
NAME
 
3
   chsolve - sparse Cholesky solver
 
4
  
 
5
CALLING SEQUENCE
 
6
 sol=chsolve(spcho,rhs)
 
7
PARAMETERS
 
8
 spcho
 
9
       : list containing the Cholesky factors in coded form returned by chfact 
 
10
      
 
11
 rhs, sol
 
12
       : full column vectors
 
13
      
 
14
DESCRIPTION
 
15
   sol=chsolve(spcho,rhs) computes the solution of  sol=A*rhs, with A a
 
16
  symmetric sparse positive definite matrix. This function is based on the
 
17
  Ng-Peyton programs (ORNL). See the Fortran programs for a complete
 
18
  description of the variables in spcho.
 
19
  
 
20
EXAMPLE
 
21
 A=sprand(20,20,0.1);
 
22
 A=A*A'+eye();  
 
23
 spcho=chfact(A);
 
24
 sol=(1:20)';rhs=A*sol;
 
25
 spcho=chfact(A);
 
26
 chsolve(spcho,rhs)
 
27
SEE ALSO
 
28
   chfact, sparse, lufact, luget, spchol 
 
29