Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::detail_periodic::CylinderFactorsAt< P, S, N > Struct Template Reference

The sequence of a cylinder's factors along the offsets of its window. A power is the same at every position, so every window that fits has the same factors (R2: the offset drops out): period 1, on the offsets where the window fits. The summands of occurrences are this sequence read by CountOf or ExactCountOf. More...

Collaboration diagram for dedekind::category::detail_periodic::CylinderFactorsAt< P, S, N >:

Public Types

using Domain = N
using Codomain

Public Member Functions

constexpr Codomain operator() (N offset) const

Public Attributes

P power
S inner
N length

Detailed Description

template<typename P, typename S, IsCountWord N>
struct dedekind::category::detail_periodic::CylinderFactorsAt< P, S, N >

The sequence of a cylinder's factors along the offsets of its window. A power is the same at every position, so every window that fits has the same factors (R2: the offset drops out): period 1, on the offsets where the window fits. The summands of occurrences are this sequence read by CountOf or ExactCountOf.

Member Typedef Documentation

◆ Codomain

template<typename P, typename S, IsCountWord N>
using dedekind::category::detail_periodic::CylinderFactorsAt< P, S, N >::Codomain
Initial value:
decltype(count_factors(cylinder(std::declval<const P&>(),
std::declval<Window<N>>(),
std::declval<const S&>())))
constexpr AtMost< Factor< N >, 1 > count_factors(const Offsets< N > &o)
Definition comprehension.cppm:537
constexpr Cylinder< Power< C, F, N >, S, N > cylinder(const Power< C, F, N > &p, Window< N > w, S s)
Definition periodic.cppm:2653
The window of a word from position offset, length letters long: its projection onto those positions,...
Definition periodic.cppm:2590

The documentation for this struct was generated from the following file: