Commit 2024-04-03 10:19 1cca755b
View on Github →chore: swap argument order in cfc and cfcₙ (#11468)
This changes the argument order for cfc and cfcₙ from cfc (a : A) (f : R → R) to cfc (f : R → R) (a : A). This has a few advantages:
- It's closer to the usual reading (
cfc f avs.f(a)on paper). - argument order looks better for
cfc_comp(cfc (g ∘ f) a = cfc g (cfc f a)instead ofcfc a (g ∘ f) = cfc (cfc f a) g). - it will be much easier to speak of operator convexity and monotonicity if we can just write
cfc f.