Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gaussian ¶
type Gaussian struct {
// contains filtered or unexported fields
}
Gaussian is gaussian noise
func NewGaussian ¶
NewGaussian creates new Gaussian noise with given mean and covariance. It returns error if it fails to create Gaussian distribution handle.
func (*Gaussian) Reset ¶
func (g *Gaussian) Reset()
Reset resets Gaussian noise: it resets the noise seed. It returns error if it fails to reset the noise.
type None ¶
type None struct{}
None is noise with empty mean and zero covariance matrix. None is different from None: its mean vector length is 0 and its covariance matrix is zero size.
type Zero ¶
type Zero struct {
// contains filtered or unexported fields
}
Zero is zero noise i.e. no noise
func NewZero ¶
NewZero creates new zero noise i.e. zero mean and zero covariance. It returns error if size is non-positive.
func (*Zero) Reset ¶
func (e *Zero) Reset()
Reset resets Zero noise: it resets the noise seed. It returns error if it fails to reset the noise.