model

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type D2RF

type D2RF func(x, t float64) float64

type Numericals

type Numericals struct {
	MethodID          int     `json:"id"`
	MethodTitle       string  `json:"title"`
	MethodDescription string  `json:"description"`
	MethodIcon        *string `json:"icon"`
}

type RF

type RF func(x float64) float64

type Schema

type Schema struct {
	ID    int     `json:"id"`
	Name  string  `json:"name"`
	Theta float64 `json:"theta"`
	Tau   float64 `json:"tau"`
}

type SolutionData

type SolutionData struct {
	Error          float64       `json:"err"`
	Sigma          float64       `json:"sigma"`
	IterationCount int           `json:"k"`
	Solution       [][][]float64 `json:"data"`
	Orginal        [][]float64   `json:"original"`
}

type SolutionParameters

type SolutionParameters struct {
	GridSize             int                `json:"n"`
	TaskID               int                `json:"task"`
	AdditionalParameters map[string]float64 `json:"special"`
	Theta                float64            `json:"theta"`
	Tau                  float64            `json:"tau"`
}

type Task

type Task struct {
	ID       int    `json:"id"`
	Name     string `json:"name"`
	F        D2RF   `json:"-"`
	Solution D2RF   `json:"-"`
}

Jump to

Keyboard shortcuts

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