Versions in this module Expand all Collapse all v1 v1.0.1 Dec 11, 2023 Changes in this version + func StringIsEmpty(s string) bool v1.0.0 Dec 11, 2023 Changes in this version + const BoolNaN + const False2Bool + const False2Float32 + const False2Float64 + const False2Int32 + const False2Int64 + const False2String + const Int32NaN + const Int64NaN + const MaxFloat32 + const MaxFloat64 + const MaxInt32 + const MaxInt64 + const MinFloat32 + const MinFloat64 + const MinInt32 + const MinInt64 + const Nil2Bool + const Nil2Int32 + const Nil2Int64 + const Nil2String + const SERIES_TYPE_BOOL + const SERIES_TYPE_DTYPE + const SERIES_TYPE_FLOAT32 + const SERIES_TYPE_FLOAT64 + const SERIES_TYPE_INT32 + const SERIES_TYPE_INT64 + const SERIES_TYPE_INVAILD + const SERIES_TYPE_STRING + const StringBad2Bool + const StringBad2Float + const StringBad2Int32 + const StringBad2Int64 + const StringFalse2Bool + const StringFalse2Float32 + const StringFalse2Float64 + const StringFalse2Int32 + const StringFalse2Int64 + const StringNaN + const StringNil2Float + const StringTrue2Bool + const StringTrue2Float32 + const StringTrue2Float64 + const StringTrue2Int32 + const StringTrue2Int64 + const True2Bool + const True2Float32 + const True2Float64 + const True2Int32 + const True2Int64 + const True2String + var Avx2Enabled = false + var DTypeNaN = DType(0) + var ErrRange = exception.New(errorTypeBase + 1, "range error") + var ErrUnsupportedType = exception.New(errorTypeBase + 0, "Unsupported type") + var IgnoreParseExceptions bool = true + var Nil2Float32 = float32(0) + var Nil2Float64 = float64(0) + var PossibleNaOfString = []string + var TypeBool = reflect.TypeOf([]bool{}) + var TypeFloat32 = reflect.TypeOf([]float32{}) + var TypeFloat64 = reflect.TypeOf([]float64{}) + var TypeInt64 = reflect.TypeOf([]int64{}) + var TypeString = reflect.TypeOf([]string{}) + func Abs[T BaseType](x []T) []T + func Add[T Number](x []T, y any) []T + func Align[T BaseType](x []T, a T, dLen int) []T + func All[T Number | ~bool](x []T) bool + func And[S ~[]E, E any](v S, x any) []bool + func AnyToBool(v any) bool + func AnyToFloat32(v any) float32 + func AnyToFloat64(v any) float64 + func AnyToInt32(v any) int32 + func AnyToInt64(v any) int64 + func AnyToSlice[T BaseType](A any, n int) []T + func AnyToString(v any) string + func Any[T Number | ~bool](x []T) bool + func Arange[T Number](start T, end T, argv ...T) []T + func ArgMax2[T BaseType](x []T) int + func ArgMax[T Number](x []T) int + func ArgMin2[T BaseType](x []T) int + func ArgMin[T Number](x []T) int + func BoolToFloat32(b bool) float32 + func BoolToFloat64(b bool) float64 + func BoolToInt(b bool) int8 + func BoolToInt32(b bool) int32 + func BoolToInt64(b bool) int64 + func BoolToString(b bool) string + func Concat1D[T Number](a, b, c []T) [][]T + func ConfidenceIntervalToZscore(confidenceInterval float64) (zScore float64) + func Count[T Number | ~bool](x []T) int + func CumSum[T Number](x []T) []T + func DTypeIsNaN(d DType) bool + func DefaultFormatter(v interface{}) string + func Diff2[T BaseType](s []T, param any) []T + func Diff[T Number](s []T, param any) []T + func Div[T Number](x []T, y any) []T + func Dot1D[T Number](a, b []T) T + func Dot2D1[T Number](a [][]T, b []T) []T + func Dot2D1_v2[T Number](a [][]T, b []T) []T + func Dot2D[T Number](a, b [][]T) [][]T + func Dot2D_V1[T Number](a, b [][]T) [][]T + func Dot[T Number](a, b [][]T) [][]T + func Dot_v1[T Number](a, b [][]T) [][]T + func Equal[T BaseType](x, y []T) []bool + func FillNa[T BaseType](x []T, v any, args ...any) []T + func Fill[T BaseType](v []T, d T, args ...any) (rows []T) + func FindPercent(zScore float64) (percent float64) + func FindZScore(percent float64) (zScore float64) + func Float32IsNaN(f float32) bool + func Float64IsNaN(f float64) bool + func GenericParse[T BaseType](text string) T + func GetAvx2Enabled() bool + func Gt[S ~[]E, E any](v S, x any) []bool + func Gte[S ~[]E, E any](v S, x any) []bool + func Inverse(a [][]float64) [][]float64 + func IsEmpty(s string) bool + func LinearRegression(x, y, weights []float64, origin bool) (alpha, beta float64) + func Lt[S ~[]E, E any](v S, x any) []bool + func Lte[S ~[]E, E any](v S, x any) []bool + func Max2[T BaseType](x []T) T + func Max[T Number](x []T) T + func Maximum[T Number](f1, f2 []T) []T + func Mean2[T BaseType](x []T) T + func Mean[T Number](x []T) T + func Min2[T BaseType](x []T) T + func Min[T Number](x []T) T + func Minimum[T Number](f1, f2 []T) []T + func Mul[T Number](x []T, y any) []T + func NaN() float64 + func Ones[T Number](v []T) []T + func Or[S ~[]E, E any](v S, x any) []bool + func PanicTrace(err interface{}) string + func ParseBool(s string, v any) bool + func ParseFloat32(s string, v any) float32 + func ParseFloat64(s string, v any) float64 + func ParseInt32(s string, v any) int32 + func ParseInt64(s string, v any) int64 + func Pow[T Number](v []T, n int) []T + func PrintString(v any) string + func Range[T Number](n int) []T + func RepeatInto[T BaseType](s []T, f T, n int) []T + func Repeat[T BaseType](f T, n int) []T + func Reverse[S ~[]E, E any](s S) S + func Rolling[T BaseType](S []T, N any) [][]T + func SetAvx2Enabled(enabled bool) + func Shape[T Number](x any) (r, c int) + func ShiftN[T BaseType](S []T, periods int) []T + func Shift[T BaseType](S []T, N any) []T + func SliceToFloat32(v any) []float32 + func SliceToFloat64(v any) []float64 + func SliceToString(v any) []string + func Slope(x1 int, y1 float64, x2 int, y2 float64) float64 + func Sqrt[T Number](v []T) []T + func Std[T BaseType](f []T) T + func Std_TODO[T Float](f []T) T + func StringIsFalse(s string) bool + func StringIsNaN(s string) bool + func StringIsTrue(s string) bool + func Sub[T Number](x []T, y any) []T + func Sum[T Number](f []T) T + func Throw(tv any) *exception.Exception + func ToBool(s Series) []bool + func ToFloat32(s Series) []float32 + func ToFloat64(s Series) []float64 + func Transpose2D[T Number](x [][]T) [][]T + func TriangleBevel(slope float64, x1 int, y1 float64, xn int) float64 + func V1And[T Number | ~bool](x, y []T) []bool + func Where[T StatType](condition []T, x, y []T) []T + func Zeros[T BaseType](shape int) []T + func ZscoreToConfidenceInterval(zScore float64) (confidenceInterval float64) + type AlphaType int + const AlphaAlpha + const AlphaCom + const AlphaHalfLife + const AlphaSpan + type BaseType interface + type BigFloat = big.Float + type Complex interface + type DType = float64 + func Any2DType(v any) DType + func Median[T Number](values []T) DType + func PolyFit(x, y []DType, deg int, args ...any) []DType + func PolyVal(p, x []DType) []DType + func Slice2DType(v any) []DType + type EW struct + Adjust bool + Alpha DType + Callback func(idx int) DType + Com DType + HalfLife DType + IgnoreNA bool + Span DType + type ExponentialMovingWindow struct + AType AlphaType + Adjust bool + Cb func(idx int) DType + Data Series + IgnoreNA bool + Param DType + func (w ExponentialMovingWindow) Mean() Series + type Float interface + type GenericType interface + type Int = int32 + func DType2Int(d []DType) []Int + type Integer interface + type LeafNode struct + type MoveType interface + type NDArray []T + func (arr NDArray[T]) Len() int + func (arr NDArray[T]) Less(i, j int) bool + func (arr NDArray[T]) Swap(i, j int) + func (self NDArray[T]) Add(x any) Series + func (self NDArray[T]) And(x any) Series + func (self NDArray[T]) Append(values ...any) Series + func (self NDArray[T]) Apply(f func(idx int, v any)) + func (self NDArray[T]) Apply2(f func(idx int, v any) any, args ...bool) Series + func (self NDArray[T]) ArgMax() int + func (self NDArray[T]) ArgMin() int + func (self NDArray[T]) Bools() []bool + func (self NDArray[T]) Concat(x Series) Series + func (self NDArray[T]) Copy() Series + func (self NDArray[T]) DTypes() []DType + func (self NDArray[T]) Diff(n any) Series + func (self NDArray[T]) Div(x any) Series + func (self NDArray[T]) EWM(alpha EW) ExponentialMovingWindow + func (self NDArray[T]) Empty(tv ...Type) Series + func (self NDArray[T]) Eq(x any) Series + func (self NDArray[T]) FillNa(v any, inplace bool) Series + func (self NDArray[T]) Floats() []float32 + func (self NDArray[T]) Gt(x any) Series + func (self NDArray[T]) Gte(x any) Series + func (self NDArray[T]) IndexOf(index int, opt ...any) any + func (self NDArray[T]) Ints() []Int + func (self NDArray[T]) Logic(f func(idx int, v any) bool) []bool + func (self NDArray[T]) Lt(x any) Series + func (self NDArray[T]) Lte(x any) Series + func (self NDArray[T]) Max() any + func (self NDArray[T]) Mean() DType + func (self NDArray[T]) Min() any + func (self NDArray[T]) Mul(x any) Series + func (self NDArray[T]) NaN() any + func (self NDArray[T]) Name() string + func (self NDArray[T]) Or(x any) Series + func (self NDArray[T]) Records(round ...bool) []string + func (self NDArray[T]) Ref(n any) Series + func (self NDArray[T]) Rename(name string) + func (self NDArray[T]) Repeat(x any, repeats int) Series + func (self NDArray[T]) Reverse() Series + func (self NDArray[T]) Rolling(param any) RollingAndExpandingMixin + func (self NDArray[T]) Select(r api.ScopeLimit) Series + func (self NDArray[T]) Shift(periods int) Series + func (self NDArray[T]) Std() DType + func (self NDArray[T]) StdDev() DType + func (self NDArray[T]) Strings() []string + func (self NDArray[T]) Sub(x any) Series + func (self NDArray[T]) Subset(start, end int, opt ...any) Series + func (self NDArray[T]) Sum() DType + func (self NDArray[T]) Type() Type + func (self NDArray[T]) V1And(x any) Series + func (self NDArray[T]) V1Gt(x any) Series + func (self NDArray[T]) Values() any + type Node struct + type Number interface + type Number16 interface + type Number32 interface + type Number64 interface + type Number8 interface + type NumberOfCPUBitsRelated interface + type Options struct + BucketSize int + type Ordered interface + type RollingAndExpandingMixin struct + Series Series + Window []DType + func (r RollingAndExpandingMixin) Apply(f func(S Series, N DType) DType) (s Series) + func (r RollingAndExpandingMixin) Count() (s Series) + func (r RollingAndExpandingMixin) GetBlocks() (blocks []Series) + func (r RollingAndExpandingMixin) Max() (s Series) + func (r RollingAndExpandingMixin) Mean() (s Series) + func (r RollingAndExpandingMixin) Min() (s Series) + func (r RollingAndExpandingMixin) Std() Series + func (r RollingAndExpandingMixin) Sum() Series + type Series interface + Add func(x any) Series + And func(x any) Series + Append func(values ...any) Series + Apply func(f func(idx int, v any)) + Apply2 func(f func(idx int, v any) any, args ...bool) Series + ArgMax func() int + ArgMin func() int + Bools func() []bool + Concat func(x Series) Series + Copy func() Series + DTypes func() []DType + Diff func(param any) (s Series) + Div func(x any) Series + EWM func(alpha EW) ExponentialMovingWindow + Empty func(t ...Type) Series + Eq func(x any) Series + FillNa func(v any, inplace bool) Series + Floats func() []float32 + Gt func(x any) Series + Gte func(x any) Series + IndexOf func(index int, opt ...any) any + Ints func() []Int + Len func() int + Less func(i, j int) bool + Logic func(f func(idx int, v any) bool) []bool + Lt func(x any) Series + Lte func(x any) Series + Max func() any + Mean func() DType + Min func() any + Mul func(x any) Series + NaN func() any + Name func() string + Or func(x any) Series + Records func(round ...bool) []string + Ref func(periods any) (s Series) + Rename func(name string) + Repeat func(x any, repeats int) Series + Reverse func() Series + Rolling func(param any) RollingAndExpandingMixin + Select func(r api.ScopeLimit) Series + Shift func(periods int) Series + Std func() DType + StdDev func() DType + Strings func() []string + Sub func(x any) Series + Subset func(start, end int, opt ...any) Series + Sum func() DType + Swap func(i, j int) + Type func() Type + Values func() any + func Align2Series(x any, N int) Series + func NewSeries[T BaseType](data ...T) Series + type Signed interface + type StatType interface + type StringFormatter func(val interface{}) string + type Type = reflect.Kind + func DetectTypeBySlice(arr ...any) (Type, error) + type Unsigned interface + type ZTable struct + func NewZTable(options *Options) *ZTable + func (zt *ZTable) FindPercentage(zScore float64) float64 + func (zt *ZTable) FindZScore(percentage float64) (float64, error)