matbesancon/MathOptSetDistances.jl

Reduce duplications

matbesancon opened this issue · 1 comments

Lots of distances can be deduced from the corresponding projection, when computing the distance only is not more efficient, fallback to computing distance to the projection

computing the distance directly avoids allocating, even though the principle of composition is nice