set_entries()

set_entries()#

AffineQuadraticOperator.set_entries(entries, fromblock: bool = False) None#

Set the operator matrices for each term of the affine expansion.

Parameters:
entrieslist of s (r, d) ndarrays, or (r, sd) ndarray

Operator matrices, either as a list of arrays (fromblock=False, default) or as a horizontal concatenatation of arrays (fromblock=True).

fromblockbool

If True, interpret entries as a horizontal concatenation of arrays; if False (default), interpret entries as a list of arrays.