AnsweredAssumed Answered

Searching for array values

Question asked by VRFuser on Jun 11, 1997
If you just want to check an array for the presence of a particular
element and don't care about its index you can use a formula:

inputs:           Formula                                 Outputs:
A = Real Array    (product(A-B)==0 ? "True" : "False")    Result = "True"
B = Scalar                                                When the element
                                                          is present
B = Value for which you are testing.
(If you are looking for 0's, just do product(A)==0 )

--
Steven De Smitt    |Eastman Kodak Company   |
desmitt@kodak.com  |Research Labs           |
FAX (716) 722-9619 |MC 01722, Bldg 59       |
Tel (716) 722-9263 |Rochester, NY 14650-1722| Page:(716) 781-2999

Outcomes