finesse.cymath.cmatrix.CCSMatrix.set_rhs

CCSMatrix.set_rhs(self, SuiteSparse_long index, double complex value, unsigned int rhs_index=0)

Sets the value of the entry at position index of the rhs_index`th right-hand-side vector to `value.

Parameters
indexlong

The index in the rhs vector to set

valuecomplex_t

The value to set

rhs_indexunsigned, optional

Which rhs vector to change; defaults to 0