Template Function librapid::array::operator==#

Function Documentation#

template<class LHS, class RHS>
auto librapid::array::operator==(LHS &&lhs, RHS &&rhs)#

Element-wise array comparison, checking whether a == b for all a, b in input arrays.

Performs an element-wise comparison on two arrays, checking if the first value is equal to the second. They must both be the same size and of the same data type.

Template Parameters
  • LHS – Type of the LHS element

  • RHS – Type of the RHS element

Parameters
  • lhs – The first array

  • rhs – The second array

Returns

The element-wise comparison of the two arrays