util

package
v0.3.15 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package util are extra utility methods

Index

Constants

This section is empty.

Variables

View Source
var ErrNegativeDataWithLog = errors.New("cannot use log transformation with negative data")

Functions

func IndentExpand

func IndentExpand(indent string, growth int) string

func LogTranformSeries added in v0.3.10

func LogTranformSeries(arr []float64) ([]float64, error)

func SliceMap added in v0.3.7

func SliceMap(arr []float64, lambda func(float64) (float64, error)) ([]float64, error)

SliceMap performs a map of the lambda method on each element of the slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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