Convert a standard PLQ model to a Graph-Matrix Calculus (GPH) model.
gph = gph_plq(plq)
matrix. A PLQ function.
Converts a PLQ function into a matrix representing its subdifferential by storing points on the subdifferential's graph, as well as the values of the original function, in order to be able to integrate.
This function runs in linear time with respect to the number of pieces in the PLQ function.
Bryan Gardiner
, University of British Columbia, BC, Canada