Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HaltonSampler ¶
type HaltonSampler struct {
// contains filtered or unexported fields
}
func NewHaltonSampler ¶
func NewHaltonSampler(numIterations, numVariables int) *HaltonSampler
func (*HaltonSampler) Sample ¶
func (s *HaltonSampler) Sample() []float64
type PseudorandomSampler ¶
type PseudorandomSampler struct {
// contains filtered or unexported fields
}
func NewPseudorandomSampler ¶
func NewPseudorandomSampler(numVariables int) *PseudorandomSampler
func (*PseudorandomSampler) Sample ¶
func (s *PseudorandomSampler) Sample() []float64
Sample samples an array of probabilities.
Click to show internal directories.
Click to hide internal directories.