Using automatic differentiation for compressive sensing in uncertainty quantification. (2nd November 2018)