OpenKalman
Variables
OpenKalman::patterns::views Namespace Reference

The namespace for views for patterns::pattern object. More...

Variables

constexpr detail::concat_adaptor concat
 a std::ranges::range_adaptor_closure for a set of concatenated pattern objects.
 
constexpr detail::diagonal_of_adapter diagonal_of
 A RangeAdapterObject that converts one pattern_collection to another corresponding to the diagonal_matrix of the argument. More...
 
constexpr detail::dimensions_adaptor dimensions
 a std::ranges::range_adaptor_closure for the dimensions of a pattern_collection.
 
constexpr detail::replicate_adaptor replicate
 a std::ranges::range_adaptor_closure for a set of replicated pattern objects. More...
 
constexpr detail::to_diagonal_adapter to_diagonal
 A RangeAdapterObject that converts one pattern_collection to another that is equivalent to duplicating the first index. More...
 

Detailed Description

The namespace for views for patterns::pattern object.

Variable Documentation

◆ diagonal_of

constexpr detail::diagonal_of_adapter OpenKalman::patterns::views::diagonal_of
inline

A RangeAdapterObject that converts one pattern_collection to another corresponding to the diagonal_matrix of the argument.

In the result, the pattern for rank 0 will be the the pattern for rank 0 in the argument, except that it is potentially truncated if the argument's pattern for rank 1 is shorter.

◆ replicate

constexpr detail::replicate_adaptor OpenKalman::patterns::views::replicate
inline

a std::ranges::range_adaptor_closure for a set of replicated pattern objects.

The object to be replicated need not be a collection. It may be a descritor

◆ to_diagonal

constexpr detail::to_diagonal_adapter OpenKalman::patterns::views::to_diagonal
inline

A RangeAdapterObject that converts one pattern_collection to another that is equivalent to duplicating the first index.

In the result, the pattern for ranks 0 and 1 will both be the pattern for rank 0 in the argument.