mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:19:59 +00:00
Refactor element-wise comparison macro to improve naming consistency
This commit is contained in:
parent
10c6116f8f
commit
a30a7101e8
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user