JuliaLang/julia

Comparison operator in findmin() variants

Open

#14,216 opened on 2015年12月1日

GitHub で見る
 (18 comments) (0 reactions) (0 assignees)Julia (5,773 forks)batch import
collectionshelp wanted

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (平均マージ 20d 6h) (30d で 157 merged PRs)

説明

This issue was raised in the mailing list: https://groups.google.com/forum/#!topic/julia-users/iBydnBqQgxg

Although we can define a custom type and specialize the < operator for it, sometimes we may be interested in testing different operators on the spot. What are your thoughts on an additional option a la C++?

findmin(array, lt=<)

コントリビューターガイド