Skip to content
alextsui05 edited this page Nov 28, 2013 · 2 revisions

This is an implementation of the Clausen function. The implementation is based on partial summation of the series acceleration given here: https://en.wikipedia.org/wiki/Clausen_function#Series_acceleration. In this definition, the Riemann zeta function is used, and so Boost Math is a prerequisite for using this snippet of code.

This code is available under the Apache 2.0 License.

Clone this wiki locally