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) float64

Parameters & Attributes

NameTypeDescription
xfloat64First 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))}
Go Reference