set_entries()#

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

Set the operator entries, the matrices \(\Ohat_{\ell}^{(1)},\ldots,\Ohat_{\ell}^{(s)}\).

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

Operator entries, 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.