Shift

Add a multiple of the identity to a member of the product of second-order cones.

C++ API

void soc::Shift(Matrix<Real> &x, Real shift, const Matrix<Int> &orders, const Matrix<Int> &firstInds)
void soc::Shift(ElementalMatrix<Real> &x, Real shift, const ElementalMatrix<Int> &orders, const ElementalMatrix<Int> &firstInds)
void soc::Shift(DistMultiVec<Real> &x, Real shift, const DistMultiVec<Int> &orders, const DistMultiVec<Int> &firstInds)

C API

TODO

Python API

TODO