blob: 86d6aadc4f763b9816f3a8cb5b8b3ca02a929fab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# AAND -- Compute the bitwise boolean 'and' of two vectors (generic).
procedure aandi (a, b, c, npix)
int a[ARB], b[ARB], c[ARB]
int npix, i
int and()
begin
do i = 1, npix {
c[i] = and (a[i], b[i])
}
end
|