brahmap.base.ReducedLinearOperator¶
Restricts a non-symmetric linear operator to a subset of its rows and columns.
This operation can be useful in masking out unobserved or unwanted dimensions by projecting them out of the functional space.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
op
|
LinearOperator
|
The original linear operator to be reduced |
required |
row_indices
|
Sequence[int]
|
Indices to restrict the output vector |
required |
col_indices
|
Sequence[int]
|
Indices to restrict the input vector |
required |
Returns:
| Type | Description |
|---|---|
LinearOperator
|
A new reduced linear operator of shape |