diff options
Diffstat (limited to 'sys/vops/lz/aveqr.x')
-rw-r--r-- | sys/vops/lz/aveqr.x | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/vops/lz/aveqr.x b/sys/vops/lz/aveqr.x new file mode 100644 index 00000000..01faffe2 --- /dev/null +++ b/sys/vops/lz/aveqr.x @@ -0,0 +1,18 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# AVEQ -- Compare two vectors for equality. + +bool procedure aveqr (a, b, npix) + +real a[ARB], b[ARB] #I vectors to be compared +int npix #I number of pixels to be compared + +int i + +begin + do i = 1, npix + if (a[i] != b[i]) + return (false) + + return (true) +end |