Documentation ¶
Index ¶
- func AddToArrayTypeArray(dest, source NDArrayType)
- func AddToFloat32Array(dest, source NDFloat32)
- func AddToFloat64Array(dest, source NDFloat64)
- func AddToInt32Array(dest, source NDInt32)
- func AddToInt64Array(dest, source NDInt64)
- func AddToUint32Array(dest, source NDUint32)
- func AddToUint64Array(dest, source NDUint64)
- func ApplyFunc1ArrayType(dest, source NDArrayType, fn func(val ArrayType) ArrayType)
- func ApplyFunc1Float32(dest, source NDFloat32, fn func(val float32) float32)
- func ApplyFunc1Float64(dest, source NDFloat64, fn func(val float64) float64)
- func ApplyFunc1Int32(dest, source NDInt32, fn func(val int32) int32)
- func ApplyFunc1Int64(dest, source NDInt64, fn func(val int64) int64)
- func ApplyFunc1Uint32(dest, source NDUint32, fn func(val uint32) uint32)
- func ApplyFunc1Uint64(dest, source NDUint64, fn func(val uint64) uint64)
- func Argmax(vector []int) int
- func IDivMod(numerator int, denominators []int, modulator []int) []int
- func Increment(vector, wrt []int)
- func Maximum(vector []int) int
- func Multiply(lhs []int, rhs []int) []int
- func Offsets(dims []int) []int
- func Product(ix []int) int
- func ScaleArrayTypeArray(dest, source NDArrayType, scale ArrayType)
- func ScaleFloat32Array(dest, source NDFloat32, scale float32)
- func ScaleFloat64Array(dest, source NDFloat64, scale float64)
- func ScaleInt32Array(dest, source NDInt32, scale int32)
- func ScaleInt64Array(dest, source NDInt64, scale int64)
- func ScaleUint32Array(dest, source NDUint32, scale uint32)
- func ScaleUint64Array(dest, source NDUint64, scale uint64)
- type ArrayType
- type ND1ArrayType
- type ND1Float32
- type ND1Float64
- type ND1Int
- type ND1Int32
- type ND1Int64
- type ND1Uint
- type ND1Uint32
- type ND1Uint64
- type ND2ArrayType
- type ND2Float32
- type ND2Float64
- type ND2Int
- type ND2Int32
- type ND2Int64
- type ND2Uint
- type ND2Uint32
- type ND2Uint64
- type ND3ArrayType
- type ND3Float32
- type ND3Float64
- type ND3Int
- type ND3Int32
- type ND3Int64
- type ND3Uint
- type ND3Uint32
- type ND3Uint64
- type NDArrayType
- type NDFloat32
- type NDFloat64
- type NDInt
- type NDInt32
- type NDInt64
- type NDUint
- type NDUint32
- type NDUint64
- type NdArrayTypeCommon
- func (nd *NdArrayTypeCommon) Contiguous() bool
- func (nd *NdArrayTypeCommon) Index(loc []int) int
- func (nd *NdArrayTypeCommon) Len(ax int) int
- func (nd *NdArrayTypeCommon) Len1() int
- func (nd *NdArrayTypeCommon) Len2() int
- func (nd *NdArrayTypeCommon) Len3() int
- func (nd *NdArrayTypeCommon) NDims() int
- func (nd *NdArrayTypeCommon) NewIndex(val int) []int
- func (nd *NdArrayTypeCommon) Shape() []int
- func (nd *NdArrayTypeCommon) SliceInto(dest *NdArrayTypeCommon, loc []int, dims []int, step []int)
- type NdFloat32Common
- func (nd *NdFloat32Common) Contiguous() bool
- func (nd *NdFloat32Common) Index(loc []int) int
- func (nd *NdFloat32Common) Len(ax int) int
- func (nd *NdFloat32Common) Len1() int
- func (nd *NdFloat32Common) Len2() int
- func (nd *NdFloat32Common) Len3() int
- func (nd *NdFloat32Common) NDims() int
- func (nd *NdFloat32Common) NewIndex(val int) []int
- func (nd *NdFloat32Common) Shape() []int
- func (nd *NdFloat32Common) SliceInto(dest *NdFloat32Common, loc []int, dims []int, step []int)
- type NdFloat64Common
- func (nd *NdFloat64Common) Contiguous() bool
- func (nd *NdFloat64Common) Index(loc []int) int
- func (nd *NdFloat64Common) Len(ax int) int
- func (nd *NdFloat64Common) Len1() int
- func (nd *NdFloat64Common) Len2() int
- func (nd *NdFloat64Common) Len3() int
- func (nd *NdFloat64Common) NDims() int
- func (nd *NdFloat64Common) NewIndex(val int) []int
- func (nd *NdFloat64Common) Shape() []int
- func (nd *NdFloat64Common) SliceInto(dest *NdFloat64Common, loc []int, dims []int, step []int)
- type NdInt32Common
- func (nd *NdInt32Common) Contiguous() bool
- func (nd *NdInt32Common) Index(loc []int) int
- func (nd *NdInt32Common) Len(ax int) int
- func (nd *NdInt32Common) Len1() int
- func (nd *NdInt32Common) Len2() int
- func (nd *NdInt32Common) Len3() int
- func (nd *NdInt32Common) NDims() int
- func (nd *NdInt32Common) NewIndex(val int) []int
- func (nd *NdInt32Common) Shape() []int
- func (nd *NdInt32Common) SliceInto(dest *NdInt32Common, loc []int, dims []int, step []int)
- type NdInt64Common
- func (nd *NdInt64Common) Contiguous() bool
- func (nd *NdInt64Common) Index(loc []int) int
- func (nd *NdInt64Common) Len(ax int) int
- func (nd *NdInt64Common) Len1() int
- func (nd *NdInt64Common) Len2() int
- func (nd *NdInt64Common) Len3() int
- func (nd *NdInt64Common) NDims() int
- func (nd *NdInt64Common) NewIndex(val int) []int
- func (nd *NdInt64Common) Shape() []int
- func (nd *NdInt64Common) SliceInto(dest *NdInt64Common, loc []int, dims []int, step []int)
- type NdIntCommon
- func (nd *NdIntCommon) Contiguous() bool
- func (nd *NdIntCommon) Index(loc []int) int
- func (nd *NdIntCommon) Len(ax int) int
- func (nd *NdIntCommon) Len1() int
- func (nd *NdIntCommon) Len2() int
- func (nd *NdIntCommon) Len3() int
- func (nd *NdIntCommon) NDims() int
- func (nd *NdIntCommon) NewIndex(val int) []int
- func (nd *NdIntCommon) Shape() []int
- func (nd *NdIntCommon) SliceInto(dest *NdIntCommon, loc []int, dims []int, step []int)
- type NdUint32Common
- func (nd *NdUint32Common) Contiguous() bool
- func (nd *NdUint32Common) Index(loc []int) int
- func (nd *NdUint32Common) Len(ax int) int
- func (nd *NdUint32Common) Len1() int
- func (nd *NdUint32Common) Len2() int
- func (nd *NdUint32Common) Len3() int
- func (nd *NdUint32Common) NDims() int
- func (nd *NdUint32Common) NewIndex(val int) []int
- func (nd *NdUint32Common) Shape() []int
- func (nd *NdUint32Common) SliceInto(dest *NdUint32Common, loc []int, dims []int, step []int)
- type NdUint64Common
- func (nd *NdUint64Common) Contiguous() bool
- func (nd *NdUint64Common) Index(loc []int) int
- func (nd *NdUint64Common) Len(ax int) int
- func (nd *NdUint64Common) Len1() int
- func (nd *NdUint64Common) Len2() int
- func (nd *NdUint64Common) Len3() int
- func (nd *NdUint64Common) NDims() int
- func (nd *NdUint64Common) NewIndex(val int) []int
- func (nd *NdUint64Common) Shape() []int
- func (nd *NdUint64Common) SliceInto(dest *NdUint64Common, loc []int, dims []int, step []int)
- type NdUintCommon
- func (nd *NdUintCommon) Contiguous() bool
- func (nd *NdUintCommon) Index(loc []int) int
- func (nd *NdUintCommon) Len(ax int) int
- func (nd *NdUintCommon) Len1() int
- func (nd *NdUintCommon) Len2() int
- func (nd *NdUintCommon) Len3() int
- func (nd *NdUintCommon) NDims() int
- func (nd *NdUintCommon) NewIndex(val int) []int
- func (nd *NdUintCommon) Shape() []int
- func (nd *NdUintCommon) SliceInto(dest *NdUintCommon, loc []int, dims []int, step []int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToArrayTypeArray ¶
func AddToArrayTypeArray(dest, source NDArrayType)
func AddToFloat32Array ¶
func AddToFloat32Array(dest, source NDFloat32)
func AddToFloat64Array ¶
func AddToFloat64Array(dest, source NDFloat64)
func AddToInt32Array ¶
func AddToInt32Array(dest, source NDInt32)
func AddToInt64Array ¶
func AddToInt64Array(dest, source NDInt64)
func AddToUint32Array ¶
func AddToUint32Array(dest, source NDUint32)
func AddToUint64Array ¶
func AddToUint64Array(dest, source NDUint64)
func ApplyFunc1ArrayType ¶
func ApplyFunc1ArrayType(dest, source NDArrayType, fn func(val ArrayType) ArrayType)
func ApplyFunc1Float32 ¶
func ApplyFunc1Float64 ¶
func ApplyFunc1Int32 ¶
func ApplyFunc1Int64 ¶
func ApplyFunc1Uint32 ¶
func ApplyFunc1Uint64 ¶
func ScaleArrayTypeArray ¶
func ScaleArrayTypeArray(dest, source NDArrayType, scale ArrayType)
func ScaleFloat32Array ¶
func ScaleFloat64Array ¶
func ScaleInt32Array ¶
func ScaleInt64Array ¶
func ScaleUint32Array ¶
func ScaleUint64Array ¶
Types ¶
type ND1ArrayType ¶
type ND1ArrayType interface { NDArrayType Len1() int Get1(loc int) ArrayType Set1(loc int, val ArrayType) Apply1(loc int, step int, vals []ArrayType) }
func NewArray1DArrayType ¶
func NewArray1DArrayType(dim int) ND1ArrayType
type ND1Float32 ¶
type ND1Float32 interface { NDFloat32 Len1() int Get1(loc int) float32 Set1(loc int, val float32) Apply1(loc int, step int, vals []float32) }
func NewArray1DFloat32 ¶
func NewArray1DFloat32(dim int) ND1Float32
type ND1Float64 ¶
type ND1Float64 interface { NDFloat64 Len1() int Get1(loc int) float64 Set1(loc int, val float64) Apply1(loc int, step int, vals []float64) }
func NewArray1DFloat64 ¶
func NewArray1DFloat64(dim int) ND1Float64
type ND1Int ¶
type ND1Int interface { NDInt Len1() int Get1(loc int) int Set1(loc int, val int) Apply1(loc int, step int, vals []int) }
func NewArray1DInt ¶
type ND1Int32 ¶
type ND1Int32 interface { NDInt32 Len1() int Get1(loc int) int32 Set1(loc int, val int32) Apply1(loc int, step int, vals []int32) }
func NewArray1DInt32 ¶
type ND1Int64 ¶
type ND1Int64 interface { NDInt64 Len1() int Get1(loc int) int64 Set1(loc int, val int64) Apply1(loc int, step int, vals []int64) }
func NewArray1DInt64 ¶
type ND1Uint ¶
type ND1Uint interface { NDUint Len1() int Get1(loc int) uint Set1(loc int, val uint) Apply1(loc int, step int, vals []uint) }
func NewArray1DUint ¶
type ND1Uint32 ¶
type ND1Uint32 interface { NDUint32 Len1() int Get1(loc int) uint32 Set1(loc int, val uint32) Apply1(loc int, step int, vals []uint32) }
func NewArray1DUint32 ¶
type ND1Uint64 ¶
type ND1Uint64 interface { NDUint64 Len1() int Get1(loc int) uint64 Set1(loc int, val uint64) Apply1(loc int, step int, vals []uint64) }
func NewArray1DUint64 ¶
type ND2ArrayType ¶
type ND2ArrayType interface { NDArrayType Len2() int Get2(loc1 int, loc2 int) ArrayType Set2(loc1 int, loc2 int, val ArrayType) }
func NewArray2DArrayType ¶
func NewArray2DArrayType(dim1 int, dim2 int) ND2ArrayType
type ND2Float32 ¶
type ND2Float32 interface { NDFloat32 Len2() int Get2(loc1 int, loc2 int) float32 Set2(loc1 int, loc2 int, val float32) }
func NewArray2DFloat32 ¶
func NewArray2DFloat32(dim1 int, dim2 int) ND2Float32
type ND2Float64 ¶
type ND2Float64 interface { NDFloat64 Len2() int Get2(loc1 int, loc2 int) float64 Set2(loc1 int, loc2 int, val float64) }
func NewArray2DFloat64 ¶
func NewArray2DFloat64(dim1 int, dim2 int) ND2Float64
type ND2Int ¶
type ND2Int interface { NDInt Len2() int Get2(loc1 int, loc2 int) int Set2(loc1 int, loc2 int, val int) }
func NewArray2DInt ¶
type ND2Int32 ¶
type ND2Int32 interface { NDInt32 Len2() int Get2(loc1 int, loc2 int) int32 Set2(loc1 int, loc2 int, val int32) }
func NewArray2DInt32 ¶
type ND2Int64 ¶
type ND2Int64 interface { NDInt64 Len2() int Get2(loc1 int, loc2 int) int64 Set2(loc1 int, loc2 int, val int64) }
func NewArray2DInt64 ¶
type ND2Uint ¶
type ND2Uint interface { NDUint Len2() int Get2(loc1 int, loc2 int) uint Set2(loc1 int, loc2 int, val uint) }
func NewArray2DUint ¶
type ND2Uint32 ¶
type ND2Uint32 interface { NDUint32 Len2() int Get2(loc1 int, loc2 int) uint32 Set2(loc1 int, loc2 int, val uint32) }
func NewArray2DUint32 ¶
type ND2Uint64 ¶
type ND2Uint64 interface { NDUint64 Len2() int Get2(loc1 int, loc2 int) uint64 Set2(loc1 int, loc2 int, val uint64) }
func NewArray2DUint64 ¶
type ND3ArrayType ¶
type ND3ArrayType interface { NDArrayType Len3() int Get3(loc1 int, loc2 int, loc3 int) ArrayType Set3(loc1 int, loc2 int, loc3 int, val ArrayType) }
func NewArray3DArrayType ¶
func NewArray3DArrayType(dim1 int, dim2 int, dim3 int) ND3ArrayType
type ND3Float32 ¶
type ND3Float32 interface { NDFloat32 Len3() int Get3(loc1 int, loc2 int, loc3 int) float32 Set3(loc1 int, loc2 int, loc3 int, val float32) }
func NewArray3DFloat32 ¶
func NewArray3DFloat32(dim1 int, dim2 int, dim3 int) ND3Float32
type ND3Float64 ¶
type ND3Float64 interface { NDFloat64 Len3() int Get3(loc1 int, loc2 int, loc3 int) float64 Set3(loc1 int, loc2 int, loc3 int, val float64) }
func NewArray3DFloat64 ¶
func NewArray3DFloat64(dim1 int, dim2 int, dim3 int) ND3Float64
type ND3Int ¶
type ND3Int32 ¶
type ND3Int64 ¶
type ND3Uint ¶
type ND3Uint32 ¶
type ND3Uint64 ¶
type NDArrayType ¶
type NDArrayType interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) ArrayType Set(loc []int, val ArrayType) Slice(loc []int, dims []int, step []int) NDArrayType Apply(loc []int, dim int, step int, vals []ArrayType) ApplySlice(loc []int, step []int, vals NDArrayType) CopyFrom(other NDArrayType) Contiguous() bool Unroll() []ArrayType Reshape(newShape []int) (NDArrayType, error) MustReshape(newShape []int) NDArrayType ReshapeFast(newShape []int) (NDArrayType, error) Maximum() ArrayType Minimum() ArrayType }
func ARangeArrayType ¶
func ARangeArrayType(n int) NDArrayType
func ArrayFromSliceArrayType ¶
func ArrayFromSliceArrayType(data []ArrayType, dims []int) NDArrayType
func NewArrayArrayType ¶
func NewArrayArrayType(dims []int) NDArrayType
type NDFloat32 ¶
type NDFloat32 interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) float32 Set(loc []int, val float32) Slice(loc []int, dims []int, step []int) NDFloat32 Apply(loc []int, dim int, step int, vals []float32) ApplySlice(loc []int, step []int, vals NDFloat32) CopyFrom(other NDFloat32) Contiguous() bool Unroll() []float32 Reshape(newShape []int) (NDFloat32, error) MustReshape(newShape []int) NDFloat32 ReshapeFast(newShape []int) (NDFloat32, error) Maximum() float32 Minimum() float32 }
func ARangeFloat32 ¶
func ArrayFromSliceFloat32 ¶
func NewArrayFloat32 ¶
type NDFloat64 ¶
type NDFloat64 interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) float64 Set(loc []int, val float64) Slice(loc []int, dims []int, step []int) NDFloat64 Apply(loc []int, dim int, step int, vals []float64) ApplySlice(loc []int, step []int, vals NDFloat64) CopyFrom(other NDFloat64) Contiguous() bool Unroll() []float64 Reshape(newShape []int) (NDFloat64, error) MustReshape(newShape []int) NDFloat64 ReshapeFast(newShape []int) (NDFloat64, error) Maximum() float64 Minimum() float64 }
func ARangeFloat64 ¶
func ArrayFromSliceFloat64 ¶
func NewArrayFloat64 ¶
type NDInt ¶
type NDInt interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) int Set(loc []int, val int) Slice(loc []int, dims []int, step []int) NDInt Apply(loc []int, dim int, step int, vals []int) ApplySlice(loc []int, step []int, vals NDInt) CopyFrom(other NDInt) Contiguous() bool Unroll() []int Reshape(newShape []int) (NDInt, error) MustReshape(newShape []int) NDInt ReshapeFast(newShape []int) (NDInt, error) Maximum() int Minimum() int }
func ArrayFromSliceInt ¶
func NewArrayInt ¶
type NDInt32 ¶
type NDInt32 interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) int32 Set(loc []int, val int32) Slice(loc []int, dims []int, step []int) NDInt32 Apply(loc []int, dim int, step int, vals []int32) ApplySlice(loc []int, step []int, vals NDInt32) CopyFrom(other NDInt32) Contiguous() bool Unroll() []int32 Reshape(newShape []int) (NDInt32, error) MustReshape(newShape []int) NDInt32 ReshapeFast(newShape []int) (NDInt32, error) Maximum() int32 Minimum() int32 }
func ARangeInt32 ¶
func ArrayFromSliceInt32 ¶
func NewArrayInt32 ¶
type NDInt64 ¶
type NDInt64 interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) int64 Set(loc []int, val int64) Slice(loc []int, dims []int, step []int) NDInt64 Apply(loc []int, dim int, step int, vals []int64) ApplySlice(loc []int, step []int, vals NDInt64) CopyFrom(other NDInt64) Contiguous() bool Unroll() []int64 Reshape(newShape []int) (NDInt64, error) MustReshape(newShape []int) NDInt64 ReshapeFast(newShape []int) (NDInt64, error) Maximum() int64 Minimum() int64 }
func ARangeInt64 ¶
func ArrayFromSliceInt64 ¶
func NewArrayInt64 ¶
type NDUint ¶
type NDUint interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) uint Set(loc []int, val uint) Slice(loc []int, dims []int, step []int) NDUint Apply(loc []int, dim int, step int, vals []uint) ApplySlice(loc []int, step []int, vals NDUint) CopyFrom(other NDUint) Contiguous() bool Unroll() []uint Reshape(newShape []int) (NDUint, error) MustReshape(newShape []int) NDUint ReshapeFast(newShape []int) (NDUint, error) Maximum() uint Minimum() uint }
func ARangeUint ¶
func ArrayFromSliceUint ¶
func NewArrayUint ¶
type NDUint32 ¶
type NDUint32 interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) uint32 Set(loc []int, val uint32) Slice(loc []int, dims []int, step []int) NDUint32 Apply(loc []int, dim int, step int, vals []uint32) ApplySlice(loc []int, step []int, vals NDUint32) CopyFrom(other NDUint32) Contiguous() bool Unroll() []uint32 Reshape(newShape []int) (NDUint32, error) MustReshape(newShape []int) NDUint32 ReshapeFast(newShape []int) (NDUint32, error) Maximum() uint32 Minimum() uint32 }
func ARangeUint32 ¶
func ArrayFromSliceUint32 ¶
func NewArrayUint32 ¶
type NDUint64 ¶
type NDUint64 interface { Len(axis int) int Shape() []int NDims() int NewIndex(val int) []int Get(loc []int) uint64 Set(loc []int, val uint64) Slice(loc []int, dims []int, step []int) NDUint64 Apply(loc []int, dim int, step int, vals []uint64) ApplySlice(loc []int, step []int, vals NDUint64) CopyFrom(other NDUint64) Contiguous() bool Unroll() []uint64 Reshape(newShape []int) (NDUint64, error) MustReshape(newShape []int) NDUint64 ReshapeFast(newShape []int) (NDUint64, error) Maximum() uint64 Minimum() uint64 }
func ARangeUint64 ¶
func ArrayFromSliceUint64 ¶
func NewArrayUint64 ¶
type NdArrayTypeCommon ¶
type NdArrayTypeCommon struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdArrayTypeCommon) Contiguous ¶
func (nd *NdArrayTypeCommon) Contiguous() bool
func (*NdArrayTypeCommon) Index ¶
func (nd *NdArrayTypeCommon) Index(loc []int) int
func (*NdArrayTypeCommon) Len ¶
func (nd *NdArrayTypeCommon) Len(ax int) int
func (*NdArrayTypeCommon) Len1 ¶
func (nd *NdArrayTypeCommon) Len1() int
func (*NdArrayTypeCommon) Len2 ¶
func (nd *NdArrayTypeCommon) Len2() int
func (*NdArrayTypeCommon) Len3 ¶
func (nd *NdArrayTypeCommon) Len3() int
func (*NdArrayTypeCommon) NDims ¶
func (nd *NdArrayTypeCommon) NDims() int
func (*NdArrayTypeCommon) NewIndex ¶
func (nd *NdArrayTypeCommon) NewIndex(val int) []int
func (*NdArrayTypeCommon) Shape ¶
func (nd *NdArrayTypeCommon) Shape() []int
func (*NdArrayTypeCommon) SliceInto ¶
func (nd *NdArrayTypeCommon) SliceInto(dest *NdArrayTypeCommon, loc []int, dims []int, step []int)
type NdFloat32Common ¶
type NdFloat32Common struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdFloat32Common) Contiguous ¶
func (nd *NdFloat32Common) Contiguous() bool
func (*NdFloat32Common) Index ¶
func (nd *NdFloat32Common) Index(loc []int) int
func (*NdFloat32Common) Len ¶
func (nd *NdFloat32Common) Len(ax int) int
func (*NdFloat32Common) Len1 ¶
func (nd *NdFloat32Common) Len1() int
func (*NdFloat32Common) Len2 ¶
func (nd *NdFloat32Common) Len2() int
func (*NdFloat32Common) Len3 ¶
func (nd *NdFloat32Common) Len3() int
func (*NdFloat32Common) NDims ¶
func (nd *NdFloat32Common) NDims() int
func (*NdFloat32Common) NewIndex ¶
func (nd *NdFloat32Common) NewIndex(val int) []int
func (*NdFloat32Common) Shape ¶
func (nd *NdFloat32Common) Shape() []int
func (*NdFloat32Common) SliceInto ¶
func (nd *NdFloat32Common) SliceInto(dest *NdFloat32Common, loc []int, dims []int, step []int)
type NdFloat64Common ¶
type NdFloat64Common struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdFloat64Common) Contiguous ¶
func (nd *NdFloat64Common) Contiguous() bool
func (*NdFloat64Common) Index ¶
func (nd *NdFloat64Common) Index(loc []int) int
func (*NdFloat64Common) Len ¶
func (nd *NdFloat64Common) Len(ax int) int
func (*NdFloat64Common) Len1 ¶
func (nd *NdFloat64Common) Len1() int
func (*NdFloat64Common) Len2 ¶
func (nd *NdFloat64Common) Len2() int
func (*NdFloat64Common) Len3 ¶
func (nd *NdFloat64Common) Len3() int
func (*NdFloat64Common) NDims ¶
func (nd *NdFloat64Common) NDims() int
func (*NdFloat64Common) NewIndex ¶
func (nd *NdFloat64Common) NewIndex(val int) []int
func (*NdFloat64Common) Shape ¶
func (nd *NdFloat64Common) Shape() []int
func (*NdFloat64Common) SliceInto ¶
func (nd *NdFloat64Common) SliceInto(dest *NdFloat64Common, loc []int, dims []int, step []int)
type NdInt32Common ¶
type NdInt32Common struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdInt32Common) Contiguous ¶
func (nd *NdInt32Common) Contiguous() bool
func (*NdInt32Common) Index ¶
func (nd *NdInt32Common) Index(loc []int) int
func (*NdInt32Common) Len ¶
func (nd *NdInt32Common) Len(ax int) int
func (*NdInt32Common) Len1 ¶
func (nd *NdInt32Common) Len1() int
func (*NdInt32Common) Len2 ¶
func (nd *NdInt32Common) Len2() int
func (*NdInt32Common) Len3 ¶
func (nd *NdInt32Common) Len3() int
func (*NdInt32Common) NDims ¶
func (nd *NdInt32Common) NDims() int
func (*NdInt32Common) NewIndex ¶
func (nd *NdInt32Common) NewIndex(val int) []int
func (*NdInt32Common) Shape ¶
func (nd *NdInt32Common) Shape() []int
func (*NdInt32Common) SliceInto ¶
func (nd *NdInt32Common) SliceInto(dest *NdInt32Common, loc []int, dims []int, step []int)
type NdInt64Common ¶
type NdInt64Common struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdInt64Common) Contiguous ¶
func (nd *NdInt64Common) Contiguous() bool
func (*NdInt64Common) Index ¶
func (nd *NdInt64Common) Index(loc []int) int
func (*NdInt64Common) Len ¶
func (nd *NdInt64Common) Len(ax int) int
func (*NdInt64Common) Len1 ¶
func (nd *NdInt64Common) Len1() int
func (*NdInt64Common) Len2 ¶
func (nd *NdInt64Common) Len2() int
func (*NdInt64Common) Len3 ¶
func (nd *NdInt64Common) Len3() int
func (*NdInt64Common) NDims ¶
func (nd *NdInt64Common) NDims() int
func (*NdInt64Common) NewIndex ¶
func (nd *NdInt64Common) NewIndex(val int) []int
func (*NdInt64Common) Shape ¶
func (nd *NdInt64Common) Shape() []int
func (*NdInt64Common) SliceInto ¶
func (nd *NdInt64Common) SliceInto(dest *NdInt64Common, loc []int, dims []int, step []int)
type NdIntCommon ¶
type NdIntCommon struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdIntCommon) Contiguous ¶
func (nd *NdIntCommon) Contiguous() bool
func (*NdIntCommon) Index ¶
func (nd *NdIntCommon) Index(loc []int) int
func (*NdIntCommon) Len ¶
func (nd *NdIntCommon) Len(ax int) int
func (*NdIntCommon) Len1 ¶
func (nd *NdIntCommon) Len1() int
func (*NdIntCommon) Len2 ¶
func (nd *NdIntCommon) Len2() int
func (*NdIntCommon) Len3 ¶
func (nd *NdIntCommon) Len3() int
func (*NdIntCommon) NDims ¶
func (nd *NdIntCommon) NDims() int
func (*NdIntCommon) NewIndex ¶
func (nd *NdIntCommon) NewIndex(val int) []int
func (*NdIntCommon) Shape ¶
func (nd *NdIntCommon) Shape() []int
func (*NdIntCommon) SliceInto ¶
func (nd *NdIntCommon) SliceInto(dest *NdIntCommon, loc []int, dims []int, step []int)
type NdUint32Common ¶
type NdUint32Common struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdUint32Common) Contiguous ¶
func (nd *NdUint32Common) Contiguous() bool
func (*NdUint32Common) Index ¶
func (nd *NdUint32Common) Index(loc []int) int
func (*NdUint32Common) Len ¶
func (nd *NdUint32Common) Len(ax int) int
func (*NdUint32Common) Len1 ¶
func (nd *NdUint32Common) Len1() int
func (*NdUint32Common) Len2 ¶
func (nd *NdUint32Common) Len2() int
func (*NdUint32Common) Len3 ¶
func (nd *NdUint32Common) Len3() int
func (*NdUint32Common) NDims ¶
func (nd *NdUint32Common) NDims() int
func (*NdUint32Common) NewIndex ¶
func (nd *NdUint32Common) NewIndex(val int) []int
func (*NdUint32Common) Shape ¶
func (nd *NdUint32Common) Shape() []int
func (*NdUint32Common) SliceInto ¶
func (nd *NdUint32Common) SliceInto(dest *NdUint32Common, loc []int, dims []int, step []int)
type NdUint64Common ¶
type NdUint64Common struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdUint64Common) Contiguous ¶
func (nd *NdUint64Common) Contiguous() bool
func (*NdUint64Common) Index ¶
func (nd *NdUint64Common) Index(loc []int) int
func (*NdUint64Common) Len ¶
func (nd *NdUint64Common) Len(ax int) int
func (*NdUint64Common) Len1 ¶
func (nd *NdUint64Common) Len1() int
func (*NdUint64Common) Len2 ¶
func (nd *NdUint64Common) Len2() int
func (*NdUint64Common) Len3 ¶
func (nd *NdUint64Common) Len3() int
func (*NdUint64Common) NDims ¶
func (nd *NdUint64Common) NDims() int
func (*NdUint64Common) NewIndex ¶
func (nd *NdUint64Common) NewIndex(val int) []int
func (*NdUint64Common) Shape ¶
func (nd *NdUint64Common) Shape() []int
func (*NdUint64Common) SliceInto ¶
func (nd *NdUint64Common) SliceInto(dest *NdUint64Common, loc []int, dims []int, step []int)
type NdUintCommon ¶
type NdUintCommon struct { OriginalDims []int Dims []int Start int Offset []int Step []int OffsetStep []int }
func (*NdUintCommon) Contiguous ¶
func (nd *NdUintCommon) Contiguous() bool
func (*NdUintCommon) Index ¶
func (nd *NdUintCommon) Index(loc []int) int
func (*NdUintCommon) Len ¶
func (nd *NdUintCommon) Len(ax int) int
func (*NdUintCommon) Len1 ¶
func (nd *NdUintCommon) Len1() int
func (*NdUintCommon) Len2 ¶
func (nd *NdUintCommon) Len2() int
func (*NdUintCommon) Len3 ¶
func (nd *NdUintCommon) Len3() int
func (*NdUintCommon) NDims ¶
func (nd *NdUintCommon) NDims() int
func (*NdUintCommon) NewIndex ¶
func (nd *NdUintCommon) NewIndex(val int) []int
func (*NdUintCommon) Shape ¶
func (nd *NdUintCommon) Shape() []int
func (*NdUintCommon) SliceInto ¶
func (nd *NdUintCommon) SliceInto(dest *NdUintCommon, loc []int, dims []int, step []int)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.