Documentation
¶
Index ¶
- Variables
- func Run(fn Fn) (tools.Poly, tools.Poly)
- type Config
- func (c *Config) AddRange(a, b float64) *Config
- func (c *Config) Iter(i int) int
- func (c *Config) MaxOrder() int
- func (c *Config) OrderNWithPin() int
- func (c *Config) Point(angle float64) float64
- func (c *Config) Run(fn Fn) (tools.Poly, tools.Poly)
- func (c *Config) SetOrderN(n int) *Config
- func (c *Config) SetPin(pin bool) *Config
- type Fn
- type Minimax
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = &Config{ RelError: true, Pin: false, OrderN: 6, OrderD: 0, WorkingPercision: 128, Brake: 50, }
Functions ¶
Types ¶
type Config ¶
type Config struct {
// A float64
// B float64
Ranges [][3]float64
RangeLen float64
RelError bool
Pin bool
OrderN int
OrderD int
// TargetPrecision uint
WorkingPercision uint
// Variant int //函数种类
Skew int
Brake int
}
func WithOrderN ¶
func (*Config) OrderNWithPin ¶
type Minimax ¶
func (*Minimax) Denominator ¶
Click to show internal directories.
Click to hide internal directories.