github.com/qiaogw/arrgo@v0.0.8/README.MD (about) 1 最近在提升可用性,如果您发现了 bug,请一定告知。 2 3 ### type Arrf 4 5 func Abs(b *Arrf) *Arrf 6 func Acos(b *Arrf) *Arrf 7 func Acosh(b *Arrf) *Arrf 8 func Add(a, b *Arrf) *Arrf 9 func Arange(vals ...float64) (a *Arrf) 10 func ArgMax(a *Arrf, axis ...int) *Arrf 11 func ArgMin(a *Arrf, axis ...int) *Arrf 12 func Array(Data []float64, Shape ...int) (a *Arrf) 13 func Asin(b *Arrf) *Arrf 14 func Asinh(b *Arrf) *Arrf 15 func Atan(b *Arrf) *Arrf 16 func Atanh(b *Arrf) *Arrf 17 func Ceil(b *Arrf) *Arrf 18 func CopySign(a, b *Arrf) *Arrf 19 func Cos(b *Arrf) *Arrf 20 func Cosh(b *Arrf) *Arrf 21 func Div(a, b *Arrf) *Arrf 22 func Empty(Shape ...int) (a *Arrf) 23 func EmptyLike(a *Arrf) *Arrf 24 func Exp(b *Arrf) *Arrf 25 func Eye(n int) *Arrf 26 func Floor(b *Arrf) *Arrf 27 func Full(fullValue float64, Shape ...int) *Arrf 28 func Identity(n int) *Arrf 29 func Log(b *Arrf) *Arrf 30 func Log10(b *Arrf) *Arrf 31 func Log1p(b *Arrf) *Arrf 32 func Log2(b *Arrf) *Arrf 33 func Max(a *Arrf, axis ...int) *Arrf 34 func Maximum(a, b *Arrf) *Arrf 35 func Mean(a *Arrf, axis ...int) *Arrf 36 func Min(a *Arrf, axis ...int) *Arrf 37 func Minimum(a, b *Arrf) *Arrf 38 func Mod(a, b *Arrf) *Arrf 39 func Modf(b *Arrf) (*Arrf, *Arrf) 40 func Mul(a, b *Arrf) *Arrf 41 func Ones(Shape ...int) *Arrf 42 func OnesLike(a *Arrf) *Arrf 43 func Pow(a, b *Arrf) *Arrf 44 func Round(b *Arrf, places int) *Arrf 45 func Sign(b *Arrf) *Arrf 46 func Sin(b *Arrf) *Arrf 47 func Sinh(b *Arrf) *Arrf 48 func Sort(a *Arrf, axis ...int) *Arrf 49 func Sqrt(b *Arrf) *Arrf 50 func Square(b *Arrf) *Arrf 51 func Std(a *Arrf, axis ...int) *Arrf 52 func Sub(a, b *Arrf) *Arrf 53 func Sum(a *Arrf, axis ...int) *Arrf 54 func Tan(b *Arrf) *Arrf 55 func Tanh(b *Arrf) *Arrf 56 func Var(a *Arrf, axis ...int) *Arrf 57 func Where(cond *Arrb, tv, fv interface{}) *Arrf 58 func Zeros(Shape ...int) *Arrf 59 func ZerosLike(a *Arrf) *Arrf 60 func (a *Arrf) Add(b *Arrf) *Arrf 61 func (a *Arrf) AddC(b float64) *Arrf 62 func (a *Arrf) ArgMax(axis ...int) *Arrf 63 func (a *Arrf) ArgMin(axis ...int) *Arrf 64 func (a *Arrf) At(index ...int) float64 65 func (a *Arrf) Copy() *Arrf 66 func (a *Arrf) Count(axis ...int) int 67 func (a *Arrf) Div(b *Arrf) *Arrf 68 func (a *Arrf) DivC(b float64) *Arrf 69 func (a *Arrf) DotProd(b *Arrf) float64 70 func (a *Arrf) Equal(b *Arrf) *Arrb 71 func (a *Arrf) Flatten() *Arrf 72 func (a *Arrf) Get(index ...int) float64 73 func (a *Arrf) Greater(b *Arrf) *Arrb 74 func (a *Arrf) GreaterEqual(b *Arrf) *Arrb 75 func (a *Arrf) Index(ranges ...Range) *Arrf 76 func (a *Arrf) Less(b *Arrf) *Arrb 77 func (a *Arrf) LessEqual(b *Arrf) *Arrb 78 func (a *Arrf) MatProd(b *Arrf) *Arrf 79 func (a *Arrf) Max(axis ...int) *Arrf 80 func (a *Arrf) Mean(axis ...int) *Arrf 81 func (a *Arrf) Min(axis ...int) *Arrf 82 func (a *Arrf) Mul(b *Arrf) *Arrf 83 func (a *Arrf) MulC(b float64) *Arrf 84 func (a *Arrf) Ndims() int 85 func (a *Arrf) NotEqual(b *Arrf) *Arrb 86 func (a *Arrf) ReShape(Shape ...int) *Arrf 87 func (a *Arrf) Set(val float64, index ...int) *Arrf 88 func (a *Arrf) Sort(axis ...int) *Arrf 89 func (a *Arrf) Std(axis ...int) *Arrf 90 func (a *Arrf) String() (s string) 91 func (a *Arrf) Sub(b *Arrf) *Arrf 92 func (a *Arrf) SubC(b float64) *Arrf 93 func (a *Arrf) Sum(axis ...int) *Arrf 94 func (a *Arrf) Transpose(axes ...int) *Arrf 95 func (a *Arrf) Values() []float64 96 func (a *Arrf) Var(axis ...int) *Arrf 97 98 ### type Arrb 99 100 func ArrayB(Data []bool, Shape ...int) (a *Arrb) 101 func EmptyB(Shape ...int) (a *Arrb) 102 func Equal(a, b *Arrf) *Arrb 103 func FullB(value bool, Shape ...int) *Arrb 104 func Greater(a, b *Arrf) *Arrb 105 func GreaterEqual(a, b *Arrf) *Arrb 106 func IsFinit(b *Arrf) *Arrb 107 func IsInf(b *Arrf) *Arrb 108 func IsNaN(b *Arrf) *Arrb 109 func Less(a, b *Arrf) *Arrb 110 func LessEqual(a, b *Arrf) *Arrb 111 func LogicalAnd(a, b *Arrb) *Arrb 112 func LogicalNot(a *Arrb) *Arrb 113 func LogicalOr(a, b *Arrb) *Arrb 114 func NotEqual(a, b *Arrf) *Arrb 115 func (ab *Arrb) All() bool 116 func (ab *Arrb) Any() bool 117 func (a *Arrb) LogicalAnd(b *Arrb) *Arrb 118 func (a *Arrb) LogicalNot() *Arrb 119 func (a *Arrb) LogicalOr(b *Arrb) *Arrb 120 func (a *Arrb) String() (s string) 121 func (a *Arrb) Sum() int 122 123 ### Variables 124 125 func ContainsFloat64(s []float64, e float64) bool 126 func Hargmax(ln int, Data []float64) 127 func Hargmin(ln int, Data []float64) 128 func Hmax(ln int, Data []float64) 129 func Hmin(ln int, Data []float64) 130 func Hsort(ln int, Data []float64) 131 func ProductIntSlice(slice []int) int 132 func ReverseIntSlice(slice []int) []int 133 func Roundf(val float64, places int) float64 134 func Vargmax(ln int, a []float64) 135 func Vargmin(ln int, a []float64) 136 func Vmax(a, b []float64) 137 func Vmin(a, b []float64) 138 func Vsort(ln int, a []float64)