blob: 7516bd8bfc11433da8808f038b578d43481e2648 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# AWSU -- Vector weighted sum. C = A * k1 + B * k2
procedure awsux (a, b, c, npix, k1, k2)
complex a[ARB], b[ARB], c[ARB]
complex k1, k2
int npix, i
begin
do i = 1, npix
c[i] = a[i] * k1 + b[i] * k2
end
|