diff --git a/dlib/math/complex.d b/dlib/math/complex.d index d9e12332..ab5d3b6d 100644 --- a/dlib/math/complex.d +++ b/dlib/math/complex.d @@ -1,5 +1,5 @@ /* -Copyright (c) 2013-2023 Timur Gafarov +Copyright (c) 2013-2024 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 @@ -230,17 +230,6 @@ Complex!T exp(T)(Complex!T s) std.math.exp(s.re) * sin(s.im)); } -/** - * Riemann zeta function: - * ΞΆ(s) = 1/1^s + 1/2^s + 1/3^s + ... - */ -Complex!T zeta(T)(Complex!T s) -{ - return Complex!T(1.0) + - (s + Complex!T(3.0)) / (s - Complex!T(1.0)) * - Complex!T(1.0) / pow(Complex!T(2.0), s + Complex!T(1.0)); -} - /* * Predefined complex type aliases */