brahmap.base.SymmetricallyReducedLinearOperator¶
Symmetrically restricts a linear operator to a subset of its dimensions.
This operation is similar to ReducedLinearOperator
but it restricts both of the dimensions equally.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
op
|
LinearOperator
|
The original linear operator to be reduced |
required |
indices
|
Sequence[int]
|
Indices to restrict both the input and output vectors |
required |
Returns:
| Type | Description |
|---|---|
LinearOperator
|
A new symmetrically reduced linear operator of shape
|