blob: fbfbb8804b7e0b3c0af57cd197cc8e6a2ceda3dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# AMGS -- Return the square of the magnitude of two vectors.
procedure amgsr (a, b, c, npix)
real a[ARB], b[ARB], c[ARB]
int npix, i
begin
do i = 1, npix
c[i] = a[i] ** 2 + b[i] ** 2
end
|