mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 07:09: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.
|
// 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user