Standard library / math
math.Yn()
Bessel function of second kind, integer order; negative real input yields NaN. Expected stdout: '-Inf\n'.
Formal Syntax & Structure
go syntaxgo
func Yn(n int, x float64) float64Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| n | int | Integer count, exponent or order as specified. |
| x | float64 | First input operand (or sole input if unary). |
Return Value
float64
Bessel function of second kind, integer order; negative real input yields NaN.
Working Example
Example Snippetgo
package main
import ( "fmt" "math")
func main() { fmt.Println(math.Yn(2, 0))}