Documentation ¶
Index ¶
- func CreatePlot(title, x, y string) *plot.Plot
- func DrawPlot(p *plot.Plot, ds plotter.XYs, n, m, md1, md2 int)
- func Gauss(f func(float64) float64, a, b float64, n int) float64
- func GenDots(f func(p float64) float64, sc []float64) plotter.XYs
- func Integrate(f Integrated, lm [][]float64, n []int, fn []Integrator) float64
- func SavePlot(p *plot.Plot, f string)
- func Simpson(f func(float64) float64, a, b float64, n int) float64
- type Integrated
- type Integrator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePlot ¶
CreatePlot used to create base plot object.
func Integrate ¶
func Integrate(f Integrated, lm [][]float64, n []int, fn []Integrator) float64
Integrate function used to split integration directions.
Types ¶
type Integrated ¶
Integrated type used to represent integrated function.
func IntegratedFunc ¶
func IntegratedFunc(p float64) Integrated
IntegratedFunc function used to choose inner and outer direction of integration.
Click to show internal directories.
Click to hide internal directories.