tensor

package
v0.0.0-...-2c46ed6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 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 Shape

type Shape []int

func (Shape) Size

func (s Shape) Size() int

type Vector

type Vector []float64

func (*Vector) Append

func (v *Vector) Append(value float64)

func (*Vector) Each

func (v *Vector) Each(f func(index int, value float64))

func (*Vector) Get

func (v *Vector) Get(index int) float64

func (*Vector) Len

func (v *Vector) Len() int

func (*Vector) Max

func (v *Vector) Max() (index int, value float64)

func (*Vector) Sum

func (v *Vector) Sum() (sum float64)

Jump to

Keyboard shortcuts

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