MCPcopy Create free account
hub / github.com/brimdata/super / newMathReducer

Function newMathReducer

runtime/sam/expr/agg/math.go:28–30  ·  view source on GitHub ↗
(f *anymath.Function)

Source from the content-addressed store, hash-verified

26var _ Function = (*mathReducer)(nil)
27
28func newMathReducer(f *anymath.Function) *mathReducer {
29 return &mathReducer{function: f}
30}
31
32func (m *mathReducer) Result(sctx *super.Context) super.Value {
33 if m.stringErr {

Callers 1

NewPatternFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected