num

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateStepSize

func CalculateStepSize(n int, x0, x float64) float64

CalculateStepSize from the given number of steps

Types

type Line

type Line struct {
	Name   string
	Points []Point
}

Line describes a particular line on a plot

type Point

type Point struct {
	X float64
	Y float64
}

Point describes a particular point on a plane

func (Point) String

func (p Point) String() string

String implements fmt.Stringer to properly print points

Directories

Path Synopsis
Package service provides methods to solve differential equations in num methods, plot graphs of these solutions, calculate errors and plot the graphs of errors.
Package service provides methods to solve differential equations in num methods, plot graphs of these solutions, calculate errors and plot the graphs of errors.

Jump to

Keyboard shortcuts

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