arrayn

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayN

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

func New

func New() *ArrayN

func NewWithCap

func NewWithCap(dims ...int) *ArrayN

func (*ArrayN) Cap

func (arr *ArrayN) Cap() int

func (*ArrayN) Del

func (arr *ArrayN) Del(idx int) (interface{}, bool)

func (*ArrayN) Get

func (arr *ArrayN) Get(idx int) (interface{}, bool)

func (*ArrayN) Grow

func (arr *ArrayN) Grow(size int)

func (*ArrayN) Set

func (arr *ArrayN) Set(idx int, value interface{})

func (*ArrayN) Values

func (arr *ArrayN) Values() (result []interface{})

type DimensionSize

type DimensionSize struct {
	Sizes []int
}

type Node

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

type ProductN

type ProductN struct {
	Values []int
}

type SizeN

type SizeN struct {
	Sizes []int
}

Jump to

Keyboard shortcuts

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