batch

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2020 License: AGPL-3.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package batch implements batched processing for slices of points in particular aggregations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Avg

func Avg(in []schema.Point) float64

func Cnt

func Cnt(in []schema.Point) float64

func Diff

func Diff(in []schema.Point) float64

func Lst

func Lst(in []schema.Point) float64

func Max

func Max(in []schema.Point) float64

func Med

func Med(in []schema.Point) float64

func Min

func Min(in []schema.Point) float64

func Mult

func Mult(in []schema.Point) float64

func Range

func Range(in []schema.Point) float64

func StdDev

func StdDev(in []schema.Point) float64

func Sum

func Sum(in []schema.Point) float64

Types

type AggFunc

type AggFunc func(in []schema.Point) float64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL