Standard library / math

math.J0()

Bessel function of first kind, order zero. Expected stdout: '1\n'.

Formal Syntax & Structure

go syntaxgo
func J0(x float64) float64

Parameters & Attributes

NameTypeDescription
xfloat64First input operand (or sole input if unary).

Return Value

float64

Bessel function of first kind, order zero.

Working Example

Example Snippetgo
package main
import (  "fmt"  "math")
func main() {  fmt.Println(math.J0(0))}
Go Reference