Standard library / math
math.J1()
Bessel function of first kind, order one. Expected stdout: '0\n'.
Formal Syntax & Structure
go syntaxgo
func J1(x float64) float64Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| x | float64 | First input operand (or sole input if unary). |
Return Value
float64
Bessel function of first kind, order one.
Working Example
Example Snippetgo
package main
import ( "fmt" "math")
func main() { fmt.Println(math.J1(0))}