Documentation ¶
Index ¶
- func Angle(m Point, n Point) (angel float64)
- func GenRandInt(min, max int) int
- func LeastSquares(x []float64, y []float64) (a float64, b float64, err error)
- func Max[T int | uint | int64 | uint64 | float64](data []T) T
- func Min[T int | uint | int64 | uint64 | float64](data []T) T
- func Sum[T int | uint | int64 | uint64 | float64](data []T) T
- func Trunc2(val float64) float64
- func Trunc4(val float64) float64
- func TruncN(f float64, n int) float64
- type Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenRandInt ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.