rfunc

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Overview

Package rfunc provides types and funcs to implement user-provided formulae evaluated on data exposed by ROOT trees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formula

type Formula interface {
	// RVars returns the names of the leaves that this formula needs.
	// The returned slice must contain the names in the same order than the
	// user formula function's arguments.
	RVars() []string

	// Bind provides the arguments to the user function.
	// ptrs is a slice of pointers to the rtree.ReadVars, in the same order
	// than requested by RVars.
	Bind(ptrs []interface{}) error

	// Func returns the user function closing on the bound pointer-to-arguments
	// and returning the expected evaluated value.
	Func() interface{}
}

Formula is the interface that describes the protocol between a user provided function (that evaluates a value based on some data in a ROOT tree) and the rtree.Reader (that presents data from a ROOT tree.)

func NewGenericFormula

func NewGenericFormula(rvars []string, fct interface{}) (Formula, error)

NewGenericFormula returns a new formula from the provided list of needed tree variables and the provided user function. NewGenericFormula uses reflect to bind read-vars and the generic function.

type FuncF32F32F32ToBool

type FuncF32F32F32ToBool struct {
	// contains filtered or unexported fields
}

FuncF32F32F32ToBool implements rfunc.Formula

func NewFuncF32F32F32ToBool

func NewFuncF32F32F32ToBool(rvars []string, fct func(arg00 float32, arg01 float32, arg02 float32) bool) *FuncF32F32F32ToBool

NewFuncF32F32F32ToBool return a new formula, from the provided function.

func (*FuncF32F32F32ToBool) Bind

func (f *FuncF32F32F32ToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32F32F32ToBool) Func

func (f *FuncF32F32F32ToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32F32F32ToBool) RVars

func (f *FuncF32F32F32ToBool) RVars() []string

RVars implements rfunc.Formula

type FuncF32F32F32ToF32

type FuncF32F32F32ToF32 struct {
	// contains filtered or unexported fields
}

FuncF32F32F32ToF32 implements rfunc.Formula

func NewFuncF32F32F32ToF32

func NewFuncF32F32F32ToF32(rvars []string, fct func(arg00 float32, arg01 float32, arg02 float32) float32) *FuncF32F32F32ToF32

NewFuncF32F32F32ToF32 return a new formula, from the provided function.

func (*FuncF32F32F32ToF32) Bind

func (f *FuncF32F32F32ToF32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32F32F32ToF32) Func

func (f *FuncF32F32F32ToF32) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32F32F32ToF32) RVars

func (f *FuncF32F32F32ToF32) RVars() []string

RVars implements rfunc.Formula

type FuncF32F32ToBool

type FuncF32F32ToBool struct {
	// contains filtered or unexported fields
}

FuncF32F32ToBool implements rfunc.Formula

func NewFuncF32F32ToBool

func NewFuncF32F32ToBool(rvars []string, fct func(arg00 float32, arg01 float32) bool) *FuncF32F32ToBool

NewFuncF32F32ToBool return a new formula, from the provided function.

func (*FuncF32F32ToBool) Bind

func (f *FuncF32F32ToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32F32ToBool) Func

func (f *FuncF32F32ToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32F32ToBool) RVars

func (f *FuncF32F32ToBool) RVars() []string

RVars implements rfunc.Formula

type FuncF32F32ToF32

type FuncF32F32ToF32 struct {
	// contains filtered or unexported fields
}

FuncF32F32ToF32 implements rfunc.Formula

func NewFuncF32F32ToF32

func NewFuncF32F32ToF32(rvars []string, fct func(arg00 float32, arg01 float32) float32) *FuncF32F32ToF32

NewFuncF32F32ToF32 return a new formula, from the provided function.

func (*FuncF32F32ToF32) Bind

func (f *FuncF32F32ToF32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32F32ToF32) Func

func (f *FuncF32F32ToF32) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32F32ToF32) RVars

func (f *FuncF32F32ToF32) RVars() []string

RVars implements rfunc.Formula

type FuncF32ToBool

type FuncF32ToBool struct {
	// contains filtered or unexported fields
}

FuncF32ToBool implements rfunc.Formula

func NewFuncF32ToBool

func NewFuncF32ToBool(rvars []string, fct func(arg00 float32) bool) *FuncF32ToBool

NewFuncF32ToBool return a new formula, from the provided function.

func (*FuncF32ToBool) Bind

func (f *FuncF32ToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32ToBool) Func

func (f *FuncF32ToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32ToBool) RVars

func (f *FuncF32ToBool) RVars() []string

RVars implements rfunc.Formula

type FuncF32ToF32

type FuncF32ToF32 struct {
	// contains filtered or unexported fields
}

FuncF32ToF32 implements rfunc.Formula

func NewFuncF32ToF32

func NewFuncF32ToF32(rvars []string, fct func(arg00 float32) float32) *FuncF32ToF32

NewFuncF32ToF32 return a new formula, from the provided function.

func (*FuncF32ToF32) Bind

func (f *FuncF32ToF32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32ToF32) Func

func (f *FuncF32ToF32) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32ToF32) RVars

func (f *FuncF32ToF32) RVars() []string

RVars implements rfunc.Formula

type FuncF32ToF64

type FuncF32ToF64 struct {
	// contains filtered or unexported fields
}

FuncF32ToF64 implements rfunc.Formula

func NewFuncF32ToF64

func NewFuncF32ToF64(rvars []string, fct func(arg00 float32) float64) *FuncF32ToF64

NewFuncF32ToF64 return a new formula, from the provided function.

func (*FuncF32ToF64) Bind

func (f *FuncF32ToF64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32ToF64) Func

func (f *FuncF32ToF64) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32ToF64) RVars

func (f *FuncF32ToF64) RVars() []string

RVars implements rfunc.Formula

type FuncF32sToF64s

type FuncF32sToF64s struct {
	// contains filtered or unexported fields
}

FuncF32sToF64s implements rfunc.Formula

func NewFuncF32sToF64s

func NewFuncF32sToF64s(rvars []string, fct func(arg00 []float32) []float64) *FuncF32sToF64s

NewFuncF32sToF64s return a new formula, from the provided function.

func (*FuncF32sToF64s) Bind

func (f *FuncF32sToF64s) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF32sToF64s) Func

func (f *FuncF32sToF64s) Func() interface{}

Func implements rfunc.Formula

func (*FuncF32sToF64s) RVars

func (f *FuncF32sToF64s) RVars() []string

RVars implements rfunc.Formula

type FuncF64F64F64ToBool

type FuncF64F64F64ToBool struct {
	// contains filtered or unexported fields
}

FuncF64F64F64ToBool implements rfunc.Formula

func NewFuncF64F64F64ToBool

func NewFuncF64F64F64ToBool(rvars []string, fct func(arg00 float64, arg01 float64, arg02 float64) bool) *FuncF64F64F64ToBool

NewFuncF64F64F64ToBool return a new formula, from the provided function.

func (*FuncF64F64F64ToBool) Bind

func (f *FuncF64F64F64ToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64F64F64ToBool) Func

func (f *FuncF64F64F64ToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64F64F64ToBool) RVars

func (f *FuncF64F64F64ToBool) RVars() []string

RVars implements rfunc.Formula

type FuncF64F64F64ToF64

type FuncF64F64F64ToF64 struct {
	// contains filtered or unexported fields
}

FuncF64F64F64ToF64 implements rfunc.Formula

func NewFuncF64F64F64ToF64

func NewFuncF64F64F64ToF64(rvars []string, fct func(arg00 float64, arg01 float64, arg02 float64) float64) *FuncF64F64F64ToF64

NewFuncF64F64F64ToF64 return a new formula, from the provided function.

func (*FuncF64F64F64ToF64) Bind

func (f *FuncF64F64F64ToF64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64F64F64ToF64) Func

func (f *FuncF64F64F64ToF64) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64F64F64ToF64) RVars

func (f *FuncF64F64F64ToF64) RVars() []string

RVars implements rfunc.Formula

type FuncF64F64ToBool

type FuncF64F64ToBool struct {
	// contains filtered or unexported fields
}

FuncF64F64ToBool implements rfunc.Formula

func NewFuncF64F64ToBool

func NewFuncF64F64ToBool(rvars []string, fct func(arg00 float64, arg01 float64) bool) *FuncF64F64ToBool

NewFuncF64F64ToBool return a new formula, from the provided function.

func (*FuncF64F64ToBool) Bind

func (f *FuncF64F64ToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64F64ToBool) Func

func (f *FuncF64F64ToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64F64ToBool) RVars

func (f *FuncF64F64ToBool) RVars() []string

RVars implements rfunc.Formula

type FuncF64F64ToF64

type FuncF64F64ToF64 struct {
	// contains filtered or unexported fields
}

FuncF64F64ToF64 implements rfunc.Formula

func NewFuncF64F64ToF64

func NewFuncF64F64ToF64(rvars []string, fct func(arg00 float64, arg01 float64) float64) *FuncF64F64ToF64

NewFuncF64F64ToF64 return a new formula, from the provided function.

func (*FuncF64F64ToF64) Bind

func (f *FuncF64F64ToF64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64F64ToF64) Func

func (f *FuncF64F64ToF64) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64F64ToF64) RVars

func (f *FuncF64F64ToF64) RVars() []string

RVars implements rfunc.Formula

type FuncF64ToBool

type FuncF64ToBool struct {
	// contains filtered or unexported fields
}

FuncF64ToBool implements rfunc.Formula

func NewFuncF64ToBool

func NewFuncF64ToBool(rvars []string, fct func(arg00 float64) bool) *FuncF64ToBool

NewFuncF64ToBool return a new formula, from the provided function.

func (*FuncF64ToBool) Bind

func (f *FuncF64ToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64ToBool) Func

func (f *FuncF64ToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64ToBool) RVars

func (f *FuncF64ToBool) RVars() []string

RVars implements rfunc.Formula

type FuncF64ToF64

type FuncF64ToF64 struct {
	// contains filtered or unexported fields
}

FuncF64ToF64 implements rfunc.Formula

func NewFuncF64ToF64

func NewFuncF64ToF64(rvars []string, fct func(arg00 float64) float64) *FuncF64ToF64

NewFuncF64ToF64 return a new formula, from the provided function.

func (*FuncF64ToF64) Bind

func (f *FuncF64ToF64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64ToF64) Func

func (f *FuncF64ToF64) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64ToF64) RVars

func (f *FuncF64ToF64) RVars() []string

RVars implements rfunc.Formula

type FuncF64sToF64s

type FuncF64sToF64s struct {
	// contains filtered or unexported fields
}

FuncF64sToF64s implements rfunc.Formula

func NewFuncF64sToF64s

func NewFuncF64sToF64s(rvars []string, fct func(arg00 []float64) []float64) *FuncF64sToF64s

NewFuncF64sToF64s return a new formula, from the provided function.

func (*FuncF64sToF64s) Bind

func (f *FuncF64sToF64s) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncF64sToF64s) Func

func (f *FuncF64sToF64s) Func() interface{}

Func implements rfunc.Formula

func (*FuncF64sToF64s) RVars

func (f *FuncF64sToF64s) RVars() []string

RVars implements rfunc.Formula

type FuncI32I32I32ToI32

type FuncI32I32I32ToI32 struct {
	// contains filtered or unexported fields
}

FuncI32I32I32ToI32 implements rfunc.Formula

func NewFuncI32I32I32ToI32

func NewFuncI32I32I32ToI32(rvars []string, fct func(arg00 int32, arg01 int32, arg02 int32) int32) *FuncI32I32I32ToI32

NewFuncI32I32I32ToI32 return a new formula, from the provided function.

func (*FuncI32I32I32ToI32) Bind

func (f *FuncI32I32I32ToI32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI32I32I32ToI32) Func

func (f *FuncI32I32I32ToI32) Func() interface{}

Func implements rfunc.Formula

func (*FuncI32I32I32ToI32) RVars

func (f *FuncI32I32I32ToI32) RVars() []string

RVars implements rfunc.Formula

type FuncI32I32ToI32

type FuncI32I32ToI32 struct {
	// contains filtered or unexported fields
}

FuncI32I32ToI32 implements rfunc.Formula

func NewFuncI32I32ToI32

func NewFuncI32I32ToI32(rvars []string, fct func(arg00 int32, arg01 int32) int32) *FuncI32I32ToI32

NewFuncI32I32ToI32 return a new formula, from the provided function.

func (*FuncI32I32ToI32) Bind

func (f *FuncI32I32ToI32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI32I32ToI32) Func

func (f *FuncI32I32ToI32) Func() interface{}

Func implements rfunc.Formula

func (*FuncI32I32ToI32) RVars

func (f *FuncI32I32ToI32) RVars() []string

RVars implements rfunc.Formula

type FuncI32ToF64

type FuncI32ToF64 struct {
	// contains filtered or unexported fields
}

FuncI32ToF64 implements rfunc.Formula

func NewFuncI32ToF64

func NewFuncI32ToF64(rvars []string, fct func(arg00 int32) float64) *FuncI32ToF64

NewFuncI32ToF64 return a new formula, from the provided function.

func (*FuncI32ToF64) Bind

func (f *FuncI32ToF64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI32ToF64) Func

func (f *FuncI32ToF64) Func() interface{}

Func implements rfunc.Formula

func (*FuncI32ToF64) RVars

func (f *FuncI32ToF64) RVars() []string

RVars implements rfunc.Formula

type FuncI32ToI32

type FuncI32ToI32 struct {
	// contains filtered or unexported fields
}

FuncI32ToI32 implements rfunc.Formula

func NewFuncI32ToI32

func NewFuncI32ToI32(rvars []string, fct func(arg00 int32) int32) *FuncI32ToI32

NewFuncI32ToI32 return a new formula, from the provided function.

func (*FuncI32ToI32) Bind

func (f *FuncI32ToI32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI32ToI32) Func

func (f *FuncI32ToI32) Func() interface{}

Func implements rfunc.Formula

func (*FuncI32ToI32) RVars

func (f *FuncI32ToI32) RVars() []string

RVars implements rfunc.Formula

type FuncI64I64I64ToI64

type FuncI64I64I64ToI64 struct {
	// contains filtered or unexported fields
}

FuncI64I64I64ToI64 implements rfunc.Formula

func NewFuncI64I64I64ToI64

func NewFuncI64I64I64ToI64(rvars []string, fct func(arg00 int64, arg01 int64, arg02 int64) int64) *FuncI64I64I64ToI64

NewFuncI64I64I64ToI64 return a new formula, from the provided function.

func (*FuncI64I64I64ToI64) Bind

func (f *FuncI64I64I64ToI64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI64I64I64ToI64) Func

func (f *FuncI64I64I64ToI64) Func() interface{}

Func implements rfunc.Formula

func (*FuncI64I64I64ToI64) RVars

func (f *FuncI64I64I64ToI64) RVars() []string

RVars implements rfunc.Formula

type FuncI64I64ToI64

type FuncI64I64ToI64 struct {
	// contains filtered or unexported fields
}

FuncI64I64ToI64 implements rfunc.Formula

func NewFuncI64I64ToI64

func NewFuncI64I64ToI64(rvars []string, fct func(arg00 int64, arg01 int64) int64) *FuncI64I64ToI64

NewFuncI64I64ToI64 return a new formula, from the provided function.

func (*FuncI64I64ToI64) Bind

func (f *FuncI64I64ToI64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI64I64ToI64) Func

func (f *FuncI64I64ToI64) Func() interface{}

Func implements rfunc.Formula

func (*FuncI64I64ToI64) RVars

func (f *FuncI64I64ToI64) RVars() []string

RVars implements rfunc.Formula

type FuncI64ToI64

type FuncI64ToI64 struct {
	// contains filtered or unexported fields
}

FuncI64ToI64 implements rfunc.Formula

func NewFuncI64ToI64

func NewFuncI64ToI64(rvars []string, fct func(arg00 int64) int64) *FuncI64ToI64

NewFuncI64ToI64 return a new formula, from the provided function.

func (*FuncI64ToI64) Bind

func (f *FuncI64ToI64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncI64ToI64) Func

func (f *FuncI64ToI64) Func() interface{}

Func implements rfunc.Formula

func (*FuncI64ToI64) RVars

func (f *FuncI64ToI64) RVars() []string

RVars implements rfunc.Formula

type FuncToBool

type FuncToBool struct {
	// contains filtered or unexported fields
}

FuncToBool implements rfunc.Formula

func NewFuncToBool

func NewFuncToBool(rvars []string, fct func() bool) *FuncToBool

NewFuncToBool return a new formula, from the provided function.

func (*FuncToBool) Bind

func (f *FuncToBool) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToBool) Func

func (f *FuncToBool) Func() interface{}

Func implements rfunc.Formula

func (*FuncToBool) RVars

func (f *FuncToBool) RVars() []string

RVars implements rfunc.Formula

type FuncToF32

type FuncToF32 struct {
	// contains filtered or unexported fields
}

FuncToF32 implements rfunc.Formula

func NewFuncToF32

func NewFuncToF32(rvars []string, fct func() float32) *FuncToF32

NewFuncToF32 return a new formula, from the provided function.

func (*FuncToF32) Bind

func (f *FuncToF32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToF32) Func

func (f *FuncToF32) Func() interface{}

Func implements rfunc.Formula

func (*FuncToF32) RVars

func (f *FuncToF32) RVars() []string

RVars implements rfunc.Formula

type FuncToF64

type FuncToF64 struct {
	// contains filtered or unexported fields
}

FuncToF64 implements rfunc.Formula

func NewFuncToF64

func NewFuncToF64(rvars []string, fct func() float64) *FuncToF64

NewFuncToF64 return a new formula, from the provided function.

func (*FuncToF64) Bind

func (f *FuncToF64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToF64) Func

func (f *FuncToF64) Func() interface{}

Func implements rfunc.Formula

func (*FuncToF64) RVars

func (f *FuncToF64) RVars() []string

RVars implements rfunc.Formula

type FuncToI32

type FuncToI32 struct {
	// contains filtered or unexported fields
}

FuncToI32 implements rfunc.Formula

func NewFuncToI32

func NewFuncToI32(rvars []string, fct func() int32) *FuncToI32

NewFuncToI32 return a new formula, from the provided function.

func (*FuncToI32) Bind

func (f *FuncToI32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToI32) Func

func (f *FuncToI32) Func() interface{}

Func implements rfunc.Formula

func (*FuncToI32) RVars

func (f *FuncToI32) RVars() []string

RVars implements rfunc.Formula

type FuncToI64

type FuncToI64 struct {
	// contains filtered or unexported fields
}

FuncToI64 implements rfunc.Formula

func NewFuncToI64

func NewFuncToI64(rvars []string, fct func() int64) *FuncToI64

NewFuncToI64 return a new formula, from the provided function.

func (*FuncToI64) Bind

func (f *FuncToI64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToI64) Func

func (f *FuncToI64) Func() interface{}

Func implements rfunc.Formula

func (*FuncToI64) RVars

func (f *FuncToI64) RVars() []string

RVars implements rfunc.Formula

type FuncToU32

type FuncToU32 struct {
	// contains filtered or unexported fields
}

FuncToU32 implements rfunc.Formula

func NewFuncToU32

func NewFuncToU32(rvars []string, fct func() uint32) *FuncToU32

NewFuncToU32 return a new formula, from the provided function.

func (*FuncToU32) Bind

func (f *FuncToU32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToU32) Func

func (f *FuncToU32) Func() interface{}

Func implements rfunc.Formula

func (*FuncToU32) RVars

func (f *FuncToU32) RVars() []string

RVars implements rfunc.Formula

type FuncToU64

type FuncToU64 struct {
	// contains filtered or unexported fields
}

FuncToU64 implements rfunc.Formula

func NewFuncToU64

func NewFuncToU64(rvars []string, fct func() uint64) *FuncToU64

NewFuncToU64 return a new formula, from the provided function.

func (*FuncToU64) Bind

func (f *FuncToU64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncToU64) Func

func (f *FuncToU64) Func() interface{}

Func implements rfunc.Formula

func (*FuncToU64) RVars

func (f *FuncToU64) RVars() []string

RVars implements rfunc.Formula

type FuncU32ToU32

type FuncU32ToU32 struct {
	// contains filtered or unexported fields
}

FuncU32ToU32 implements rfunc.Formula

func NewFuncU32ToU32

func NewFuncU32ToU32(rvars []string, fct func(arg00 uint32) uint32) *FuncU32ToU32

NewFuncU32ToU32 return a new formula, from the provided function.

func (*FuncU32ToU32) Bind

func (f *FuncU32ToU32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncU32ToU32) Func

func (f *FuncU32ToU32) Func() interface{}

Func implements rfunc.Formula

func (*FuncU32ToU32) RVars

func (f *FuncU32ToU32) RVars() []string

RVars implements rfunc.Formula

type FuncU32U32ToU32

type FuncU32U32ToU32 struct {
	// contains filtered or unexported fields
}

FuncU32U32ToU32 implements rfunc.Formula

func NewFuncU32U32ToU32

func NewFuncU32U32ToU32(rvars []string, fct func(arg00 uint32, arg01 uint32) uint32) *FuncU32U32ToU32

NewFuncU32U32ToU32 return a new formula, from the provided function.

func (*FuncU32U32ToU32) Bind

func (f *FuncU32U32ToU32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncU32U32ToU32) Func

func (f *FuncU32U32ToU32) Func() interface{}

Func implements rfunc.Formula

func (*FuncU32U32ToU32) RVars

func (f *FuncU32U32ToU32) RVars() []string

RVars implements rfunc.Formula

type FuncU32U32U32ToU32

type FuncU32U32U32ToU32 struct {
	// contains filtered or unexported fields
}

FuncU32U32U32ToU32 implements rfunc.Formula

func NewFuncU32U32U32ToU32

func NewFuncU32U32U32ToU32(rvars []string, fct func(arg00 uint32, arg01 uint32, arg02 uint32) uint32) *FuncU32U32U32ToU32

NewFuncU32U32U32ToU32 return a new formula, from the provided function.

func (*FuncU32U32U32ToU32) Bind

func (f *FuncU32U32U32ToU32) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncU32U32U32ToU32) Func

func (f *FuncU32U32U32ToU32) Func() interface{}

Func implements rfunc.Formula

func (*FuncU32U32U32ToU32) RVars

func (f *FuncU32U32U32ToU32) RVars() []string

RVars implements rfunc.Formula

type FuncU64ToU64

type FuncU64ToU64 struct {
	// contains filtered or unexported fields
}

FuncU64ToU64 implements rfunc.Formula

func NewFuncU64ToU64

func NewFuncU64ToU64(rvars []string, fct func(arg00 uint64) uint64) *FuncU64ToU64

NewFuncU64ToU64 return a new formula, from the provided function.

func (*FuncU64ToU64) Bind

func (f *FuncU64ToU64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncU64ToU64) Func

func (f *FuncU64ToU64) Func() interface{}

Func implements rfunc.Formula

func (*FuncU64ToU64) RVars

func (f *FuncU64ToU64) RVars() []string

RVars implements rfunc.Formula

type FuncU64U64ToU64

type FuncU64U64ToU64 struct {
	// contains filtered or unexported fields
}

FuncU64U64ToU64 implements rfunc.Formula

func NewFuncU64U64ToU64

func NewFuncU64U64ToU64(rvars []string, fct func(arg00 uint64, arg01 uint64) uint64) *FuncU64U64ToU64

NewFuncU64U64ToU64 return a new formula, from the provided function.

func (*FuncU64U64ToU64) Bind

func (f *FuncU64U64ToU64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncU64U64ToU64) Func

func (f *FuncU64U64ToU64) Func() interface{}

Func implements rfunc.Formula

func (*FuncU64U64ToU64) RVars

func (f *FuncU64U64ToU64) RVars() []string

RVars implements rfunc.Formula

type FuncU64U64U64ToU64

type FuncU64U64U64ToU64 struct {
	// contains filtered or unexported fields
}

FuncU64U64U64ToU64 implements rfunc.Formula

func NewFuncU64U64U64ToU64

func NewFuncU64U64U64ToU64(rvars []string, fct func(arg00 uint64, arg01 uint64, arg02 uint64) uint64) *FuncU64U64U64ToU64

NewFuncU64U64U64ToU64 return a new formula, from the provided function.

func (*FuncU64U64U64ToU64) Bind

func (f *FuncU64U64U64ToU64) Bind(args []interface{}) error

Bind implements rfunc.Formula

func (*FuncU64U64U64ToU64) Func

func (f *FuncU64U64U64ToU64) Func() interface{}

Func implements rfunc.Formula

func (*FuncU64U64U64ToU64) RVars

func (f *FuncU64U64U64ToU64) RVars() []string

RVars implements rfunc.Formula

Jump to

Keyboard shortcuts

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