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
While making changes for #152 , I realized that there are functions that have gradient! implemented, but neither is_smooth nor is_locally_smooth is true for them. Why is that? Wouldn't they need a property function that signals that they have gradients defined for a part of their domain?
DistL2
ElasticNet
NormL2
NormLinf
SumPositive
I ask this out of curiosity, not because I really need such functionality.
Activity
lostella commentedon Dec 6, 2025
I guess that’s the result of overloading “gradient” with “an element of the subdifferential” really. Something one could re-think, of course.
hakkelt commentedon Dec 16, 2025
Thanks, that was my guess, too.