Example table for binary cosinusNote the +/- pattern inside the square-roots.
DescriptionBinary cosinus is a function where one waveform period is equal to 1.0 instead of 2.0 * PI. This function and pattern was discovered by Hans Petter Selasky, Norway, in 2021. Generalization of the formula goes like this: The main component of the formula is a square-root series. The binary phase information is encoded as the selection between two function variants.
The selection of function variant is a so-called Gray-code. That means at most one bit distinguishes between subsequent phase values.
OriginThe pattern is inspired by squaring complex unit vectors.
ImplementationA C-code implementation of binary cosinus can be found here.