mirror of
https://github.com/gonum/gonum.git
synced 2025-10-25 00:00:24 +08:00
Adding Zeta to the top level with tests
This commit is contained in:
12
zeta.go
Normal file
12
zeta.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright ©2016 The gonum Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package mathext
|
||||
|
||||
import "github.com/zeroviscosity/mathext/internal/cephes"
|
||||
|
||||
// Zeta computes the Riemann zeta function of two arguments
|
||||
func Zeta(x, q float64) float64 {
|
||||
return cephes.Zeta(x, q)
|
||||
}
|
||||
Reference in New Issue
Block a user