set_entries()#
- _InterpolatedOperator.set_entries(entries, fromblock: bool = False) None [source]#
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
, interpretentries
as a horizontal concatenation of arrays; ifFalse
(default), interpretentries
as a list of arrays.