-
arXiv:1905.08462 [pdf, ps, other]
A polynomial approach to the Collatz conjecture
Abstract: The Collatz conjecture is explored using polynomials based on a binary numeral system. It is shown that the degree of the polynomials, on average, decreases after a finite number of steps of the Collatz operation, which provides a weak proof of the conjecture by using induction with respect to the degree of the polynomials.
Submitted 21 May, 2019; originally announced May 2019.
Comments: 7.5 pages and 1 Figure
-
Fake Run-Time Selection of Template Arguments in C++
Abstract: C++ does not support run-time resolution of template type arguments. To circumvent this restriction, we can instantiate a template for all possible combinations of type arguments at compile time and then select the proper instance at run time by evaluation of some provided conditions. However, for templates with multiple type parameters such a solution may easily result in a branching code bloat.… ▽ More
Submitted 21 June, 2013; originally announced June 2013.
Comments: Objects, Models, Components, Patterns (50th International Conference, TOOLS 2012)
Journal ref: Lecture Notes in Computer Science, pages 140-154, volume 7304. 2012