Refactor element-wise comparison macro to improve naming consistency

This commit is contained in:
Palash Tyagi 2025-05-03 00:36:03 +01:00
parent 10c6116f8f
commit a30a7101e8

View File

@ -399,11 +399,12 @@ macro_rules! impl_elementwise_cmp {
// Instantiate element-wise comparison implementations for matrices. // Instantiate element-wise comparison implementations for matrices.
impl_elementwise_cmp! { impl_elementwise_cmp! {
eq_elementwise => ==, eq_elem => ==,
lt_elementwise => <, ne_elem => !=,
le_elementwise => <=, lt_elem => <,
gt_elementwise => >, le_elem => <=,
ge_elementwise => >=, gt_elem => >,
ge_elem => >=,
} }
/// Generates element-wise arithmetic implementations for matrices. /// Generates element-wise arithmetic implementations for matrices.