Documentation ¶
Index ¶
- type Constant
- type Dataset
- func (d *Dataset) Add(v float64)
- func (d *Dataset) LowerQuantile(q float64) float64
- func (d *Dataset) Max() float64
- func (d *Dataset) Merge(o *Dataset)
- func (d *Dataset) Min() float64
- func (d *Dataset) Quantile(q float64) float64
- func (d *Dataset) Sum() float64
- func (d *Dataset) UpperQuantile(q float64) float64
- type Exponential
- type Generator
- type Linear
- type Lognormal
- type Normal
- type Pareto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constant ¶
type Constant struct {
// contains filtered or unexported fields
}
Constant stream
func NewConstant ¶
type Dataset ¶
func NewDataset ¶
func NewDataset() *Dataset
func (*Dataset) LowerQuantile ¶
func (*Dataset) UpperQuantile ¶
type Exponential ¶
type Exponential struct {
// contains filtered or unexported fields
}
Exponential distribution
func NewExponential ¶
func NewExponential(rate float64) *Exponential
func (*Exponential) Generate ¶
func (g *Exponential) Generate() float64
type Linear ¶
type Linear struct {
// contains filtered or unexported fields
}
Linearly increasing stream
type Lognormal ¶
type Lognormal struct {
// contains filtered or unexported fields
}
Lognormal distribution
func NewLognormal ¶
Click to show internal directories.
Click to hide internal directories.