On the convexity of piecewise-defined functionsHeinz H. Bauschke, Yves Lucet and Hung M. PhanESAIM: COCV, 22 3 (2016) 728-742DOI: https://doi.org/10.1051/cocv/2015023