define

package
v0.0.0-...-972597a Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add[T float32 | float64 | complex64 | complex128](xs, ys []T, n uintptr)

func AddConst

func AddConst[T float32 | float64 | complex64 | complex128](alpha T, xs []T, n uintptr)

func AddConstTo

func AddConstTo[T float32 | float64 | complex64 | complex128](dst []T, alpha T, xs []T, n uintptr)

func AddTo

func AddTo[T float32 | float64 | complex64 | complex128](dst, xs, ys []T, n uintptr)

func AxpyUnitary

func AxpyUnitary[T float32 | float64 | complex64 | complex128](alpha T, xs, ys []T)

AxpyUnitary calculates y[i] = y[i] + alpha * x[i].

func AxpyUnitaryTo

func AxpyUnitaryTo[T float32 | float64 | complex64 | complex128](dst []T, alpha T, xs, ys []T)

AxpyUnitaryTo calculates dst[i] = y[i] + alpha * x[i].

func CumProd

func CumProd[T float32 | float64 | complex64 | complex128](xs []T, n uintptr)

func CumSum

func CumSum[T float32 | float64 | complex64 | complex128](xs []T, n uintptr)

func Div

func Div[T float32 | float64 | complex64 | complex128](xs, ys []T, n uintptr)

func DivTo

func DivTo[T float32 | float64 | complex64 | complex128](dst, xs, ys []T, n uintptr)

func Dot

func Dot[T float32 | float64 | complex64 | complex128](xs, ys []T, n uintptr) T

func L2NormUnitary

func L2NormUnitary[T float32 | float64 | complex64 | complex128](xs []T, n uintptr) T

func Mul

func Mul[T float32 | float64 | complex64 | complex128](xs, ys []T, n uintptr)

func MulTo

func MulTo[T float32 | float64 | complex64 | complex128](dst, xs, ys []T, n uintptr)

func ScalIncUnitary

func ScalIncUnitary[T float32 | float64 | complex64 | complex128](alpha T, xs []T, n, incx uintptr)

func ScalIncUnitaryTo

func ScalIncUnitaryTo[T float32 | float64 | complex64 | complex128](dst []T, incdst uintptr, alpha T, xs []T, n, incx uintptr)

func ScalUnitary

func ScalUnitary[T float32 | float64 | complex64 | complex128](alpha T, xs []T, n uintptr)

func ScalUnitaryTo

func ScalUnitaryTo[T float32 | float64 | complex64 | complex128](dst []T, alpha T, xs []T, n uintptr)

func Sub

func Sub[T float32 | float64 | complex64 | complex128](xs, ys []T, n uintptr)

func SubTo

func SubTo[T float32 | float64 | complex64 | complex128](dst, xs, ys []T, n uintptr)

func Sum

func Sum[T float32 | float64 | complex64 | complex128](xs []T, n uintptr) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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