AngouriMath

Navigation

← Back to list of members

DriftlessPeriod​(AngouriMath.​Entity,​AngouriMath.​Entity.​Variable)

 Method (no overloads)

Summary

The period of a sum of floors and ceilings of linear functions of x and of a linear part, where the drifts cancel, or null. A floor of
(p/q) x + b rises by p when x rises by q, and a linear
term by its slope times q, so where these sum to nothing the difference repeats
with the least common multiple of the q: floor(n/2) + ceil(n/2) - n with
2, and Hermite's floor(n/3) + floor((n + 1)/3) + floor((n + 2)/3) - n with 3.
https://github.com/asc-community/AngouriMath/issues/1409

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online