From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/vops/lz/aveqi.x | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sys/vops/lz/aveqi.x (limited to 'sys/vops/lz/aveqi.x') diff --git a/sys/vops/lz/aveqi.x b/sys/vops/lz/aveqi.x new file mode 100644 index 00000000..913224b4 --- /dev/null +++ b/sys/vops/lz/aveqi.x @@ -0,0 +1,18 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# AVEQ -- Compare two vectors for equality. + +bool procedure aveqi (a, b, npix) + +int 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 -- cgit