funcs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PublicTasks = []model.Task{
	{ID: 2, Name: "Задача 2: дифференциальная задача"},
}
View Source
var Schemas = map[int]model.Schema{
	1: {ID: 1, Name: "Метод Якоби (явная схема)", Theta: 0, Tau: 1},
	2: {ID: 2, Name: "Метод Зейделя (релаксационный метод)", Theta: 1, Tau: 1},
	3: {ID: 3, Name: "Своя схема", Theta: 0, Tau: 0},
}

Functions

func GetSchema

func GetSchema(id int) model.Schema

func GetTask

func GetTask(id int, additionalParams map[string]float64) (model.Task, error)

Types

type TaskFactory

type TaskFactory func(map[string]float64) (model.Task, error)

Jump to

Keyboard shortcuts

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