numerical

package
v0.0.0-...-5ecb8ee Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bisect

func Bisect(f func(x float64) float64, x0, x1 float64) (root float64)

func Falsi

func Falsi(f func(x float64) float64, s, t float64) (r float64)

func Ridder

func Ridder(f func(x float64) float64, a, b float64) (r float64)

func Romberg

func Romberg(start float64, end float64, steps int, fp func(float64) float64) (area float64)

func Secant

func Secant(f func(x float64) float64, x0, x1 float64) (root float64)

func Simpsons

func Simpsons(start float64, end float64, steps int, fp func(float64) float64) float64

func Simpsons38

func Simpsons38(start float64, end float64, steps int, fp func(float64) float64) float64

func Simpsons38Composite

func Simpsons38Composite(start float64, end float64, steps int, fp func(float64) float64) float64

func SimpsonsAdaptive

func SimpsonsAdaptive(start float64, end float64, steps int, f func(float64) float64) float64

thin function -- prime the recursive pump and make the API match our other integration routines

func SimpsonsComposite

func SimpsonsComposite(start float64, end float64, steps int, fp func(float64) float64) float64

func Trapezoid

func Trapezoid(start float64, end float64, steps int, fp func(float64) float64) float64

func TrapezoidFast

func TrapezoidFast(start float64, end float64, steps int, fp func(float64) float64) float64

func TrapezoidIterative

func TrapezoidIterative(start float64, end float64, steps int, fp func(float64) float64) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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