pymor.operators.list¶
Classes
Base |
|
Base |
|
Variant of |
- class pymor.operators.list.LinearComplexifiedListVectorArrayOperatorBase[source]¶
Bases:
ListVectorArrayOperatorBaseBase
Operatorfor complexifiedListVectorArrays.Methods
_assemble_lincomb,apply2,apply_inverse,apply_inverse_adjoint,as_range_array,as_source_array,as_vector,assemble,d_mu,jacobian,pairwise_apply2,restrictedAttributes
parameters,parameters_inherited,parameters_internal,parameters_own,parametric
- class pymor.operators.list.ListVectorArrayOperatorBase[source]¶
Bases:
OperatorBase
OperatorforListVectorArrays.Methods
_assemble_lincomb,apply2,apply_inverse,apply_inverse_adjoint,as_range_array,as_source_array,as_vector,assemble,d_mu,jacobian,pairwise_apply2,restrictedAttributes
parameters,parameters_inherited,parameters_internal,parameters_own,parametric- apply(U, mu=None)[source]¶
Apply the operator to a
VectorArray.- Parameters:
U –
VectorArrayof vectors to which the operator is applied.mu – The
parameter valuesfor which to evaluate the operator.
- Returns:
|VectorArray| of the operator evaluations.
- apply_adjoint(V, mu=None)[source]¶
Apply the adjoint operator.
For any given linear
Operatorop,parameter valuesmuandVectorArraysU,Vin thesourceresp.rangewe have:op.apply_adjoint(V, mu).dot(U) == V.inner(op.apply(U, mu))
Thus, when
opis represented by a matrixM,apply_adjointis given by left-multiplication of (the complex conjugate of)MwithV.- Parameters:
V –
VectorArrayof vectors to which the adjoint operator is applied.mu – The
parameter valuesfor 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,NumpyMatrixOperatorVariant of
NumpyMatrixOperatorusingListVectorArrayinstead ofNumpyVectorArray.This class is mainly intended for performance tests of
ListVectorArray. In generalNumpyMatrixOperatorshould be used instead of this class.- Parameters:
matrix – The
NumPy arraywhich is to be wrapped.solver – The
Solverfor the operator.name – Name of the operator.