Skip to content

num::operators::projected_op

Defined in header <operator/projected.hpp>

template <class Op, class Subspace>
requires math::linear_operator<Op> &&
         math::linear_subspace_of<Subspace, math::codomain_t<Op>>
class projected_op final;

Operator followed by a projection onto a subspace: \(y \leftarrow P_S A x\). Holds references.

Warning

Holds A by reference; it must outlive the projected operator.

Members

member description
using laws = restricted_laws<Op, Subspace>
using domain_type = math::domain_t<Op>
using codomain_type = math::codomain_t<Op>
projected_op(const Op &op, Subspace subspace)
void apply(const domain_type &x, codomain_type &y) const
auto rows() const
auto cols() const
const Op &base() const noexcept
const Subspace &subspace() const noexcept