mathfuncs

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MathsFunction

type MathsFunction func(t, A, T float64) float64

A mathematical function y=f(t,A,T). Takes amplitude, A, and period, T, as inputs and returns the value of the function at time, t.

func GetTrendFunctionFromName

func GetTrendFunctionFromName(name string) (MathsFunction, error)

Returns the named trend function. Defaults to linear if name is empty.

Jump to

Keyboard shortcuts

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