Template Function librapid::array::operator-(LHS&&, RHS&&)#
Defined in File operations.hpp
Function Documentation#
-
template<class LHS, class RHS>
auto librapid::array::operator-(LHS &&lhs, RHS &&rhs)# Element-wise array subtraction.
Performs element-wise subtraction on two arrays. 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 difference of the two arrays