Documentation ¶
Index ¶
- func CalcAverage(data Avg) float64
- func CalcDigist(n float64) int
- func CalcFeasibleRegion(x []float64) []float64
- func CalcNormsdist(a float64) float64
- func CalcVariance(data Variance) float64
- func FloorOrCeil(n int, raw float64, isUp bool) float64
- func Ln(n float64) float64
- func Min(a1, a2 float64) float64
- func MinFloat64N(aN ...float64) float64
- func MinN(aN ...int) int
- func RandomInt(max int) int
- func Round(f float64, n int) float64
- type Avg
- type Variance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloorOrCeil ¶
向上或者向下按照有效位数取整 n为有效位数 raw为原始数字 isUp是否向上取整,否则为向下取整
Types ¶
Click to show internal directories.
Click to hide internal directories.