You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I meant PartialOrd of course -- and forgot that it already uses these method names :)
So ne, eq, ge, gt, le, lt are taken by traits, I guess the names could be something like equal, not_equal, less, less_or_equal (or less_than, leq_than), or something like that..
bluss
changed the title
Comparison operators
Elementwise comparison, with array result
Jan 16, 2016
Would it make sense to have
a.le(b)
(alsoa.leq(b)
,a.ge(b)
,a.geq(b)
) return boolean arrays? (wherea, b : PartialOrd
and properly broadcastable).The text was updated successfully, but these errors were encountered: