utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReshapeCols

func ReshapeCols(input mat.Matrix, cols int) *mat.Dense

func ReshapeRows

func ReshapeRows(input mat.Matrix, rows int) *mat.Dense

Types

type AddVec

type AddVec interface {
	AddVec(a, b mat.Vector)
}

vector

type DenseAdd

type DenseAdd interface {
	Add(a, b mat.Matrix)
}

dense

type DenseApply

type DenseApply interface {
	Apply(fn func(i, j int, v float64) float64, a mat.Matrix)
}

type DenseCopy

type DenseCopy interface {
	Copy(a mat.Matrix) (r, c int)
}

type DenseDivElem

type DenseDivElem interface {
	DivElem(a, b mat.Matrix)
}

type DenseMul

type DenseMul interface {
	Mul(a, b mat.Matrix)
}

type DenseMulElem

type DenseMulElem interface {
	MulElem(a, b mat.Matrix)
}

type DenseRowView

type DenseRowView interface {
	RowView(i int) mat.Vector
}

type DenseScale

type DenseScale interface {
	Scale(f float64, a mat.Matrix)
}

type DenseSet

type DenseSet interface {
	Set(i, j int, v float64)
}

type DenseSlice

type DenseSlice interface {
	Slice(i, k, j, l int) mat.Matrix
}

type DenseSub

type DenseSub interface {
	Sub(a, b mat.Matrix)
}

type RawVector

type RawVector interface {
	RawVector() blas64.Vector
}

type ScaleVec

type ScaleVec interface {
	ScaleVec(alpha float64, a mat.Vector)
}

type Zero

type Zero interface {
	Zero()
}

common

Jump to

Keyboard shortcuts

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