polar.c1_linops#

Classes#

Inheritance diagram of psydac.polar.c1_linops

Details#

class LinearOperator_StencilToDense(V, W, data)[source]#

Bases: LinearOperator

property domain#

The domain of the linear operator - an element of Vectorspace

property codomain#

The codomain of the linear operator - an element of Vectorspace

property dtype#
dot(v, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.

toarray(**kwargs)[source]#

Convert to Numpy 2D array.

tosparse(**kwargs)[source]#
copy()[source]#
tocoo()[source]#
transpose(conjugate=False)[source]#

Transpose the LinearOperator .

If conjugate is True, return the Hermitian transpose.

class LinearOperator_DenseToStencil(V, W, data)[source]#

Bases: LinearOperator

property domain#

The domain of the linear operator - an element of Vectorspace

property codomain#

The codomain of the linear operator - an element of Vectorspace

property dtype#
dot(v, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.

toarray(**kwargs)[source]#

Convert to Numpy 2D array.

tosparse(**kwargs)[source]#
copy()[source]#
tocoo()[source]#
transpose(conjugate=False)[source]#

Transpose the LinearOperator .

If conjugate is True, return the Hermitian transpose.