blob: 0e75feed38dce0aed4bb56fb1d1f2ec0cc5c5ab5 (
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 awsui (a, b, c, npix, k1, k2)
int a[ARB], b[ARB], c[ARB]
real k1, k2
int npix, i
begin
do i = 1, npix
c[i] = a[i] * k1 + b[i] * k2
end
|