sweep_ref_vals.Rd
Translates matrix to satisfy corner constraint, say x[, ref] = 0.
x[, ref] = 0
sweep_ref_vals(x, ref = 1)
matrix. Matrix to be translated.
integer. Column index to be used as reference.
Matrix with elements defined as out[i, j] = x[i, j] - x[i, ref].
out[i, j] = x[i, j] - x[i, ref]