# eq

Class: qrandstream

Test handle equality

## Syntax

```h1 == h2 tf = eq(h1, h2) ```

## Description

`h1 == h2` performs element-wise comparisons between handle arrays `h1` and `h2`. `h1` and `h2` must be of the same dimensions unless one is a scalar. The result is a logical array of the same dimensions, where each element is an element-wise equality result. If one of `h1` or `h2` is scalar, scalar expansion is performed and the result will match the dimensions of the array that is not scalar.

`tf = eq(h1, h2)` stores the result in a logical array of the same dimensions.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7388833,"math_prob":0.9979909,"size":547,"snap":"2022-40-2023-06","text_gpt3_token_len":150,"char_repetition_ratio":0.13259669,"word_repetition_ratio":0.041666668,"special_character_ratio":0.24680074,"punctuation_ratio":0.09090909,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95447177,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-10-07T19:09:43Z\",\"WARC-Record-ID\":\"<urn:uuid:2f55583d-74c9-4238-a47b-31c22f8aa562>\",\"Content-Length\":\"74606\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8e1bfcd4-2d39-4ef4-965c-52bf21c38c57>\",\"WARC-Concurrent-To\":\"<urn:uuid:bb547344-ca8e-4271-98c7-fff5bfa33738>\",\"WARC-IP-Address\":\"23.52.146.224\",\"WARC-Target-URI\":\"https://ww2.mathworks.cn/help/stats/qrandstream.eq.html\",\"WARC-Payload-Digest\":\"sha1:5L35QPV2JJK6QCBA6ABYQCWEDVNHVZED\",\"WARC-Block-Digest\":\"sha1:OXG5CORIVAIABP5DPHHPQG5HZ7DESFP5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030338244.64_warc_CC-MAIN-20221007175237-20221007205237-00123.warc.gz\"}"}