Documentation
¶
Overview ¶
Package service provides methods to solve differential equations in num methods, plot graphs of these solutions, calculate errors and plot the graphs of errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Plotter graph.Plotter
Solvers []solver.Interface
ExactSolver solver.Interface
}
Service provides methods to operate solvers, plot a graph, calculate errors
func (*Service) PlotGlobalErrors ¶
PlotGlobalErrors plots the graph of truncation errors
func (*Service) PlotLocalErrors ¶
PlotLocalErrors plots the graph of truncation errors from solvers related to the exact solution
Click to show internal directories.
Click to hide internal directories.