functions

package
v0.0.0-...-0a688d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 3 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinomialCoefficient

func BinomialCoefficient(n int, k int) float64

BinomialCoefficient returns n choose k

func LegendrePolynomial

func LegendrePolynomial(n int) func(x float64) float64

LegendrePolynomial returns the nth Legendre polynomial, P_n(x), as a reusable function will panic if integer n is less than 0

func LegendrePolynomial2

func LegendrePolynomial2(n int) (Pn func(x float64) float64, err error)

LegendrePolynomial2 returns the nth Legendre polynomial, P_n(x), as a reusable function will return an error if integer n is less than 0

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL