Documentation ¶
Overview ¶
Package testquad provides integrals for testing quadrature algorithms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integral ¶
type Integral struct { Name string A, B float64 // Integration limits F func(float64) float64 // Integrand Value float64 }
Integral is a definite integral
∫_a^b f(x)dx
with a known value.
func ExpOverX2Plus1 ¶
func ExpOverX2Plus1() Integral
ExpOverX2Plus1 returns the integral
∫_0^1 exp(x)/(x*x+1)dx
Click to show internal directories.
Click to hide internal directories.