14template < OperatorLike OperatorT >
34 apply( op_, src, dst );
Given some operator and a vector , this operator is equivalent to an operator defined as.
Definition diagonally_scaled_operator.hpp:16
OperatorT OperatorType
Definition diagonally_scaled_operator.hpp:18
SrcOf< OperatorT > SrcVectorType
Definition diagonally_scaled_operator.hpp:19
DstOf< OperatorT > DstVectorType
Definition diagonally_scaled_operator.hpp:20
void apply_impl(const SrcVectorType &src, DstVectorType &dst)
Definition diagonally_scaled_operator.hpp:32
DiagonallyScaledOperator(OperatorT &op, SrcVectorType &diag)
Definition diagonally_scaled_operator.hpp:28
ScalarOf< DstVectorType > ScalarType
Definition diagonally_scaled_operator.hpp:21
Concept for types that behave like linear operators.
Definition operator.hpp:57
Contains linear algebra utilities and functions for the Terra project.
Definition diagonally_scaled_operator.hpp:8
Operator::SrcVectorType SrcOf
Alias for the source vector type of an operator.
Definition operator.hpp:145
void apply(LinearForm &L, typename LinearForm::DstVectorType &dst)
Apply a linear form and write to a destination vector.
Definition linear_form.hpp:37
Operator::DstVectorType DstOf
Alias for the destination vector type of an operator.
Definition operator.hpp:149
void scale_in_place(Vector &y, const Vector &x)
Scale a vector in place with another vector. For each entry , computes .
Definition vector.hpp:137
typename Vector::ScalarType ScalarOf
Alias for the scalar type of a vector.
Definition vector.hpp:63