pymor.operators.list

Module Contents

class pymor.operators.list.LinearComplexifiedListVectorArrayOperatorBase[source]

Bases: ListVectorArrayOperatorBase

Base Operator for complexified ListVectorArrays.

class pymor.operators.list.ListVectorArrayOperatorBase[source]

Bases: pymor.operators.interface.Operator

Base Operator for ListVectorArrays.

Methods

apply

Apply the operator to a VectorArray.

apply_adjoint

Apply the adjoint operator.

apply(U, mu=None)[source]

Apply the operator to a VectorArray.

Parameters:
Returns:

|VectorArray| of the operator evaluations.

apply_adjoint(V, mu=None)[source]

Apply the adjoint operator.

For any given linear Operator op, parameter values mu and VectorArrays U, V in the source resp. range we have:

op.apply_adjoint(V, mu).dot(U) == V.inner(op.apply(U, mu))

Thus, when op is represented by a matrix M, apply_adjoint is given by left-multiplication of (the complex conjugate of) M with V.

Parameters:
  • VVectorArray of vectors to which the adjoint operator is applied.

  • mu – The parameter values for which to apply the adjoint operator.

Returns:

|VectorArray| of the adjoint operator evaluations.

class pymor.operators.list.NumpyListVectorArrayMatrixOperator(matrix, solver=None, name=None)[source]

Bases: ListVectorArrayOperatorBase, pymor.operators.numpy.NumpyMatrixOperator

Variant of NumpyMatrixOperator using ListVectorArray instead of NumpyVectorArray.

This class is mainly intended for performance tests of ListVectorArray. In general NumpyMatrixOperator should be used instead of this class.

Parameters:
  • matrix – The NumPy array which is to be wrapped.

  • solver – The Solver for the operator.

  • name – Name of the operator.