mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 12:59:26 +00:00
Refactor element-wise comparison macro to improve naming consistency
This commit is contained in:
@@ -399,11 +399,12 @@ macro_rules! impl_elementwise_cmp {
|
||||
|
||||
// Instantiate element-wise comparison implementations for matrices.
|
||||
impl_elementwise_cmp! {
|
||||
eq_elementwise => ==,
|
||||
lt_elementwise => <,
|
||||
le_elementwise => <=,
|
||||
gt_elementwise => >,
|
||||
ge_elementwise => >=,
|
||||
eq_elem => ==,
|
||||
ne_elem => !=,
|
||||
lt_elem => <,
|
||||
le_elem => <=,
|
||||
gt_elem => >,
|
||||
ge_elem => >=,
|
||||
}
|
||||
|
||||
/// Generates element-wise arithmetic implementations for matrices.
|
||||
|
Reference in New Issue
Block a user