Documentation ¶
Index ¶
- func NewExponential(num int, a, step float64) model.Collection
- func NewLine(num int, a, b, step float64) model.Collection
- func NewPolynomial(num int, b, step float64, a ...float64) model.Collection
- type Euclidean
- type Exponential
- type F
- type GL
- type GN
- type Line
- type LinearSequence
- type Polynomial
- type Sequence
- type Y
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExponential ¶
func NewExponential(num int, a, step float64) model.Collection
NewLine creates a new collection of vectors forming a line
func NewLine ¶
func NewLine(num int, a, b, step float64) model.Collection
NewLine creates a new collection of a number of vectors forming a line
func NewPolynomial ¶
func NewPolynomial(num int, b, step float64, a ...float64) model.Collection
NewLine creates a new collection of vectors forming a line
Types ¶
type Euclidean ¶
func NewExponentialGenerator ¶
NewLineGenerator creates a new generator for a 2d line
func NewLineGenerator ¶
NewLineGenerator creates a new generator for a 2d line
func NewPolynomialGenerator ¶
NewLineGenerator creates a new generator for a 2d line
type Exponential ¶
Exponential is a collection of vectors following an exponential function
type F ¶
type F struct {
// contains filtered or unexported fields
}
F is a collection of functions that transform the respective coordinates for the sake of the abstraction , we do incude all coordinates e.g. [ y1,y2,y3...] = [ f1(x1,x2,x3...) , f2(x1,x2,x3...) , f3(x1,x2,x3...) ]
type GL ¶
type GL interface {
Lim(limit float64) model.Collection
}
GL represents a generator to produce a model series with the Limit
type GN ¶
type GN interface {
Num(num int) model.Collection
}
GN represents a generator to produce a model series with the specified number of objects
type LinearSequence ¶
type LinearSequence struct {
// contains filtered or unexported fields
}
type Polynomial ¶
Polynomial is a collection of vectors following a polynomial function
type Sequence ¶
type Sequence struct {
// contains filtered or unexported fields
}