Documentation
¶
Index ¶
- func CompAbs(a, b int) int
- func EqualsArray(a, b interface{}) bool
- func EqualsArrayStrict(a, b interface{}) bool
- func EqualsMatrix(a, b interface{}) bool
- func EqualsMatrixStrict(a, b interface{}) bool
- func GetAbs(a, b int) (absA, absB int)
- func IntArray2InterfaceArray(array []int) ([]interface{}, error)
- func Interface2Int(v interface{}) (int, error)
- func Interface2IntArray(v interface{}) ([]int, error)
- func InterfaceArray2IntArray(v []interface{}) ([]int, error)
- func Max(value ...int) int
- func MaxIndexInArray(array []int, index1, index2 int) int
- func Min(value1, value2 int) int
- func MinIndexInArray(array []int, index1, index2 int) int
- func PrintIntArray([]int)
- func PrintIntMatrix([][]int)
- func PrintStruct(obj interface{})
- func Round(num float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualsArray ¶
func EqualsArray(a, b interface{}) bool
func EqualsArrayStrict ¶
func EqualsArrayStrict(a, b interface{}) bool
func EqualsMatrix ¶
func EqualsMatrix(a, b interface{}) bool
func EqualsMatrixStrict ¶
func EqualsMatrixStrict(a, b interface{}) bool
func IntArray2InterfaceArray ¶
func Interface2Int ¶
*
- @author ljfirst
- @version V1.0
- @date 2023/7/8 01:40
- @author-Email ljfirst@mail.ustc.edu.cn
- @blogURL https://blog.csdn.net/ljfirst
- @description *
func Interface2IntArray ¶
func InterfaceArray2IntArray ¶
func MaxIndexInArray ¶
获取数组中比较的两个数中较大数的下标,出现数组越界的情况返回-1
func MinIndexInArray ¶
获取数组中比较的两个数中较小数的下标,出现数组越界的情况返回-1
func PrintIntArray ¶
func PrintIntArray([]int)
func PrintIntMatrix ¶
func PrintIntMatrix([][]int)
func PrintStruct ¶
func PrintStruct(obj interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.