elements_composite

package
v0.0.0-...-7373d6a Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	FieldName string
	Elements  elements.Elements
}

func NewArray

func NewArray(values interface{}, fieldName string) (array *Array, err error)

func (*Array) Append

func (array *Array) Append(copy bool, values ...interface{}) (newArray *Array, err error)

func (*Array) At

func (array *Array) At(coord int) (value elements.ElementValue, err error)

func (*Array) Copy

func (array *Array) Copy() (newArray *Array)

func (*Array) Filter

func (array *Array) Filter(cond *condition.Condition) (newArray *Array, err error)

func (*Array) IsCondition

func (array *Array) IsCondition(cond *condition.Condition) (ixs index.IndexBool, err error)

func (*Array) IsNaN

func (array *Array) IsNaN() []bool

func (*Array) Len

func (array *Array) Len() int

func (*Array) Subset

func (array *Array) Subset(index index.IndexInt) (newSeries *Array, err error)

func (*Array) Swap

func (array *Array) Swap(i, j int)

func (*Array) Type

func (array *Array) Type() types.Type

type ElementsComposite

type ElementsComposite struct {
	NArray         []*Array
	Fields         []string
	FieldArraysMap map[string]int
}

func (*ElementsComposite) Append

func (els *ElementsComposite) Append(copy bool, values ...interface{}) (newElements elements.Elements, err error)

func (*ElementsComposite) Copy

func (els *ElementsComposite) Copy() (newElements elements.Elements)

func (ElementsComposite) IsNaN

func (els ElementsComposite) IsNaN() (result []bool)

func (*ElementsComposite) Len

func (els *ElementsComposite) Len() int

func (*ElementsComposite) Location

func (els *ElementsComposite) Location(coord int) (element elements.ElementValue, err error)

func (*ElementsComposite) String

func (els *ElementsComposite) String() string

func (*ElementsComposite) Subset

func (els *ElementsComposite) Subset(index index.IndexInt) (newElements elements.Elements, err error)

func (*ElementsComposite) Swap

func (els *ElementsComposite) Swap(i, j int)

func (*ElementsComposite) Type

func (els *ElementsComposite) Type() types.Type

Jump to

Keyboard shortcuts

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