memframe

package
Version: v0.0.0-...-89480e5 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

type Memory struct {
	ColName []string
	//ColType []frame.Type TODO
	Data   []interface{}
	Stride int
	Width  int
	Height int
}

func New

func New(width, height int) *Memory

func NewLiteral

func NewLiteral(colName []string, data [][]interface{}) *Memory

func (*Memory) Cols

func (d *Memory) Cols() []string

func (*Memory) Get

func (d *Memory) Get(x, y int, dst ...interface{}) error

func (*Memory) Len

func (d *Memory) Len() (int, error)

func (*Memory) Set

func (d *Memory) Set(x, y int, vals ...interface{}) error

func (*Memory) Slice

func (d *Memory) Slice(x, xlen, y, ylen int) frame.Frame

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL