blob: 48ce38df36d496e68cddcc999d1eff04d98dcd6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
.help svdcov Jun99 "Slalib Package"
.nf
SUBROUTINE slSVDC (N, NP, NC, W, V, WORK, CVM)
- - - - - - -
S V D C
- - - - - - -
From the W and V matrices from the SVD factorisation of a matrix
(as obtained from the slSVD routine), obtain the covariance matrix.
(double precision)
Given:
N i number of rows and columns in matrices W and V
NP i first dimension of array containing matrix V
NC i first dimension of array to receive CVM
W d(N) NxN diagonal matrix W (diagonal elements only)
V d(NP,NP) array containing NxN orthogonal matrix V
Returned:
WORK d(N) workspace
CVM d(NC,NC) array to receive covariance matrix
Reference:
Numerical Recipes, section 14.3.
P.T.Wallace Starlink December 1988
Copyright (C) 1995 Rutherford Appleton Laboratory
Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
.fi
.endhelp
|