pylops_mpi.basicoperators.MPIStackedBlockDiag#
- class pylops_mpi.basicoperators.MPIStackedBlockDiag(ops, base_comm=<mpi4py.MPI.Intracomm object>, dtype=None)[source]#
MPI Stacked BlockDiag Operator
Create a diagonal stack of
pylops_mpi.MPILinearOperator
operators.- Parameters:
- ops
list
One or more
pylops_mpi.MPILinearOperator
to be stacked.
- ops
- Attributes:
- shape
tuple
Operator shape
- shape
Notes
A MPIStackedBlockDiag is composed of N :class:pylops_mpi.MPILinearOperator instances stacked along the diagonal. These MPI operators will be applied sequentially, with distributed computations performed within each operator.
Methods
__init__
(ops[, base_comm, dtype])adjoint
()Adjoint MPIStackedLinearOperator
conj
()Complex conjugate operator
dot
(x)Matrix Vector Multiplication
matvec
(x)Matrix-vector multiplication.
rmatvec
(x)Adjoint Matrix-vector multiplication.
transpose
()Transposition of MPIStackedLinearOperator