zmath

package
v0.0.0-...-9da7a31 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FV

func FV(n int, i float64, pmt float64, pv float64) float64

func GenRandInt

func GenRandInt(min, max int) int

func IRR

func IRR(n int, pmt float64, pv float64, fv float64) float64

func LeastSquares

func LeastSquares(x []float64, y []float64) (a float64, b float64)

func MaxFloat64

func MaxFloat64(data []float64) float64

func MinFloat64

func MinFloat64(data []float64) float64

func PV

func PV(n int, i float64, pmt float64, fv float64) float64

func SumFloat64

func SumFloat64(data []float64) float64

func SumInt64

func SumInt64(data []int64) int64

func SumUint64

func SumUint64(data []uint64) uint64

func Trunc2

func Trunc2(val float64) float64

Trunc2 trunc2

func Trunc4

func Trunc4(val float64) float64

func TruncN

func TruncN(f float64, n int) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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