Re: Comparing 2d sequences
At 17:40 97-06-03 -0300, you wrote:
>How can I compare two 2d sequences dimensioned like this:
>repeat(repeat(1,100),100)
> (Each element ranging from 1 to 10, for example)
>And create a 2d "mask" sequence with zeros where
>the corresponding elements of the 2 sequences are different ?
> I'm using the and_bits function but it sometimes (and don't know
why) give
>me something wrong.
OOPS! I forgot the parenthisis,
function Compare2D(sequence a, sequence b)
return not (a-b)
end function
Jacques Deschenes
Baie-Comeau, Quebec
Canada
desja at quebectel.com
|
Not Categorized, Please Help
|
|