pylops_mpi.basicoperators.MPIStackedVStack#

class pylops_mpi.basicoperators.MPIStackedVStack(ops, base_comm=<mpi4py.MPI.Intracomm object>, dtype=None)[source]#

MPI Stacked VStack Operator

Create a vertical stack of pylops_mpi.MPILinearOperator operators.

Parameters:
opslist

One or more pylops_mpi.MPILinearOperator to be vertically stacked.

base_commmpi4py.MPI.Comm, optional

Base MPI Communicator. Defaults to mpi4py.MPI.COMM_WORLD.

dtypestr, optional

Type of elements in input array. If None, it is inferred from the dtypes of ops.

Attributes:
shapetuple

Operator shape

Raises:
ValueError

If ops have different number of columns

Notes

An MPIStackedVStack is composed of N pylops_mpi.MPILinearOperator stacked vertically. These MPI operators will be applied sequentially, however distributed computations will be 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