CholMod support for shifting term.

Submitted by Christoph Hertzberg @chhtz

Assigned to Nobody

Link to original bugzilla bug (#488)
Version: 3.1

Description

Created attachment 284
Patch adding setShift to Cholmod decompositions

Similar to Bug #382 (closed), the CholmodDecompositions could support a shift parameter. Unfortunately, only adding an offset is trivially possible (but that's the most common case).
The attached patch implements a setShift() method partially compatible to SimplicialL(D)LT (the latter additionally supports a scaling factor).

Patch 284, "Patch adding setShift to Cholmod decompositions":
cholmod_shift.patch

Edited by Eigen Bugzilla