Revising Zeta comments and copyright

This commit is contained in:
Kent English
2017-03-05 21:59:42 -05:00
parent ab2cdb2de1
commit d1f39b10c9
2 changed files with 41 additions and 71 deletions

View File

@@ -8,7 +8,9 @@ import "github.com/gonum/mathext/internal/cephes"
// Zeta computes the Riemann zeta function of two arguments.
// Zeta(x,q) = \sum_{k=0}^{\infty} (k+q)^{-x}
// where x > 1 and q is not a negative integer or zero.
// Note that Zeta returns +Inf if x is 1 and will panic if x is less than 1,
// q is either zero or a negative integer, or q is negative and x is not an
// integer.
//
// See http://mathworld.wolfram.com/HurwitzZetaFunction.html
// or https://en.wikipedia.org/wiki/Multiple_zeta_function#Two_parameters_case