tsragg

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: BSD-3-Clause Imports: 3 Imported by: 9

Documentation

Overview

Package tsragg provides aggregation functions (Sum, Mean, etc) that operate directly on etensor.Tensor data. See also agg package that operates on an IdxView of an etable.Table column.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count(tsr etensor.Tensor) float64

Count returns the count of non-Null, non-NaN elements in given Tensor.

func Max

func Max(tsr etensor.Tensor) float64

Max returns the maximum of non-Null, non-NaN elements in given Tensor.

func Mean

func Mean(tsr etensor.Tensor) float64

Mean returns the mean of non-Null, non-NaN elements in given Tensor.

func Min

func Min(tsr etensor.Tensor) float64

Min returns the minimum of non-Null, non-NaN elements in given Tensor.

func Prod

func Prod(tsr etensor.Tensor) float64

Prod returns the product of non-Null, non-NaN elements in given Tensor.

func Sem

func Sem(tsr etensor.Tensor) float64

Sem returns the sample standard error of the mean of non-Null, non-NaN elements in given Tensor.

func SemPop

func SemPop(tsr etensor.Tensor) float64

SemPop returns the population standard error of the mean of non-Null, non-NaN elements in given Tensor.

func Std

func Std(tsr etensor.Tensor) float64

Std returns the sample standard deviation of non-Null, non-NaN elements in given Tensor.

func StdPop

func StdPop(tsr etensor.Tensor) float64

StdPop returns the population standard deviation of non-Null, non-NaN elements in given Tensor.

func Sum

func Sum(tsr etensor.Tensor) float64

Sum returns the sum of non-Null, non-NaN elements in given Tensor.

func SumSq

func SumSq(tsr etensor.Tensor) float64

SumSq returns the sum-of-squares of non-Null, non-NaN elements in given Tensor.

func Var

func Var(tsr etensor.Tensor) float64

Var returns the sample variance of non-Null, non-NaN elements in given Tensor.

func VarPop

func VarPop(tsr etensor.Tensor) float64

VarPop returns the population variance of non-Null, non-NaN elements in given Tensor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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