Versions in this module Expand all Collapse all v0 v0.0.1 Oct 3, 2026 v0.0.0 Oct 3, 2026 Changes in this version + const BufferSize + func Scan(r io.Reader, fn func(float64)) error + type Block struct + func NewBlock(n int) (*Block, error) + func (b *Block) Flush(dst, in []float64) []float64 + func (b *Block) Process(dst, in []float64) ([]float64, int) + type Cumulative struct + func NewCumulative() *Cumulative + func (c *Cumulative) Process(dst, in []float64) ([]float64, int) + type Flusher interface + Flush func(dst, in []float64) []float64 + type Pipeline struct + func NewPipeline(procs ...Proc) *Pipeline + func ParsePipeline(spec string) (*Pipeline, error) + func (p *Pipeline) Flush() []float64 + func (p *Pipeline) Len() int + func (p *Pipeline) Process(in []float64) []float64 + type Proc interface + Process func(dst, in []float64) (out []float64, consumed int) + type Rate struct + func NewRate(interval float64) (*Rate, error) + func (r *Rate) Process(dst, in []float64) ([]float64, int) + type Simple struct + func NewSimple(n int) (*Simple, error) + func (s *Simple) Process(dst, in []float64) ([]float64, int) + type Source struct + Infinite bool + Name string + Rewind bool + func NewSource(name string, r io.Reader, pipe *Pipeline) *Source + func OpenSource(spec string, pipe *Pipeline) (*Source, error) + func (s *Source) Close() error + func (s *Source) Done() bool + func (s *Source) Pipeline() *Pipeline + func (s *Source) Read() ([]float64, error) + func (s *Source) ReadAll() ([]float64, error) + type Splitter struct + func (s *Splitter) Flush(fn func(float64)) + func (s *Splitter) Write(p []byte, fn func(float64))