Documentation ¶
Index ¶
- func Quantile(sortedData []float64, q float64) float64
- type Stats
- func (s Stats) Data() []float64
- func (s Stats) Default() float64
- func (s Stats) Eq(l, r float64) bool
- func (s Stats) Len() int
- func (s *Stats) Max() float64
- func (s *Stats) Mean() float64
- func (s *Stats) Min() float64
- func (s *Stats) Quantile(q float64) float64
- func (s *Stats) SetDefault(dfl float64) *Stats
- func (s *Stats) SetEq(eq func(l, r float64) bool) *Stats
- func (s *Stats) Sorted() []float64
- func (s *Stats) Sum() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func (*Stats) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.