[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Comparison of vectors
From: |
Daniel Tourde |
Subject: |
Comparison of vectors |
Date: |
Wed, 11 Nov 1998 17:31:40 +0100 |
Hi !
I would like to compare two vectors and to get 1 if and only if all
their components are the same. How can I do ?
If I use
if (A == B)
Then I obtain a vector of 0s and 1s of the length of A (resp. B) in
function of what is matching. I just want a single answer. 1 if A is B,
0 otherwise.
Thanks in advance for any information
Best regards
Daniel Tourde
--
*********************************************************************
Daniel TOURDE E-mail : address@hidden
The Aeronautical Research Institute of Sweden Tel : +46 8 634 13 44
P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81
*********************************************************************
- Comparison of vectors,
Daniel Tourde <=