Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pinpox/nvolume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

nvolume

-- import "gitlab.com/binaryplease/NVolume"

Usage

type NElement

type NElement interface {
}

type NVolume

type NVolume struct {
	Dimensions int
	Shape      []int
}

NVolume is a type for multi-dimensional volumes

func New

func New(size ...int) NVolume

New creates a new n-dimensional NVolume with given sizes. The number of dimensions is implied with the number of given sizes

func (NVolume) Get

func (nvol NVolume) Get(dim ...int) NElement

Get the Value at a given point in the NVolume

func (*NVolume) Set

func (nvol *NVolume) Set(val NElement, dim ...int)

Set the Value at a given point in the NVolume

About

Multidimensional volumes (Arrays) for go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages