MCPcopy Create free account

hub / github.com/andeya/algorithm / functions

Functions3,549 in github.com/andeya/algorithm

↓ 848 callersMethodRows
The number of rows in this matrix.
matrix/matrix.go:13
↓ 557 callersMethodCols
The number of columns in this matrix.
matrix/matrix.go:15
↓ 392 callersMethodPrintf
()
cvx/sets/sets.go:236
↓ 381 callersMethodFloatArray
Return the flat column-major element array.
matrix/dense.go:364
↓ 299 callersMethodLeadingIndex
size of the leading index.
matrix/matrix.go:19
↓ 240 callersMethodAt
Get named set
cvx/sets/sets.go:160
↓ 211 callersMethodCopy
Copy a genome;
ga/genome.go:16
↓ 208 callersMethodSubMatrix
Make B a submatrix of A with top left corner at (row, col). If no size argument is given then size of (A.Rows()-row, A.Cols()-col) is assumed. The va
matrix/dense.go:289
↓ 205 callersMethodExprType
types.go (this file)
go-symexpr/expr.go:55
↓ 202 callersFunctiononError
(msg string)
linalg/blas/indexcheck.go:77
↓ 196 callersMethodCopy
Create a new copy
cvx/interfaces.go:171
↓ 173 callersMethodInsert
(e Expr)
go-symexpr/types.go:369
↓ 164 callersMethodSet
Set the element at the ith row and jth column to v.
go.matrix/matrix.go:62
↓ 160 callersMethodNumElements
The number of elements in this matrix.
matrix/matrix.go:17
↓ 133 callersMethodAbs
()
fixed/fixed.go:31
↓ 113 callersMethodSimplify
simp.go
go-symexpr/expr.go:136
↓ 112 callersMethodAmISame
(rhs Expr)
go-symexpr/expr.go:69
↓ 111 callersMethodSqrt
Compute element-wise A = Sqrt(A).
matrix/dense_math.go:336
↓ 105 callersMethodClone
()
go-symexpr/expr.go:56
↓ 99 callersFunctionNewVar
(i int)
go-symexpr/types.go:38
↓ 98 callersMethodGetAt
Get the element in the i'th row and j'th column.
matrix/dense.go:406
↓ 97 callersMethodSetAt
Set the element in the i'th row and j'th column to val.
matrix/dense.go:468
↓ 95 callersMethodFloat
()
matrix/matrix.go:34
↓ 94 callersMethodGet
The element in the ith row and jth column.
go.matrix/matrix.go:37
↓ 93 callersMethodCols
The number of columns in this matrix.
go.matrix/matrix.go:29
↓ 91 callersMethodCheck
Check returns check code
chinaid/china_id.go:186
↓ 91 callersMethodSum
Calculate sum over set of keys.
cvx/sets/sets.go:201
↓ 90 callersMethodGetIndex
Get element value from column-major index position.
matrix/dense.go:432
↓ 88 callersMethodRows
The number of rows in this matrix.
go.matrix/matrix.go:27
↓ 84 callersMethodNext
()
matrix/dense.go:26
↓ 83 callersFunctionparse
(input string, variables []string)
go-symexpr/parse.go:25
↓ 82 callersFunctionrealIndex
Translate submatrix direct index to underlying matrix index. (relative to the start of submatrix.)
matrix/matrix.go:281
↓ 81 callersMethodAdd
(MatrixRO)
go.matrix/matrix.go:64
↓ 80 callersFunctionNewMul
()
go-symexpr/types.go:353
↓ 78 callersMethodCmp
(y Fixed)
fixed/fixed.go:109
↓ 75 callersMethodInsert
(e Expr)
go-symexpr/types.go:339
↓ 73 callersMethodAllClose
Return true if A is element-wise equal to with a tolerance. The tolerance values are positive, typically very small numbers. If tolerances parameter i
matrix/dense_bool.go:101
↓ 71 callersFunctiongsl_test_rel
(result, expected, relative_error float64, test_description string, a ...interface{})
stat/main_test.go:39
↓ 69 callersMethodGet
(int)
stat/types.go:30
↓ 69 callersFunctionNewConstant
(i int)
go-symexpr/types.go:51
↓ 65 callersMethodInt64
()
fixed/fixed.go:133
↓ 62 callersMethodComplexArray
Return nil for complex array
matrix/dense.go:372
↓ 62 callersMethodMatrix
Provide internal matrix value
cvx/interfaces.go:169
↓ 61 callersFunctionhasSuffix
(s, suffix []rune)
porterstemmer/porterstemmer.go:103
↓ 59 callersMethodSort
adds flexibility to mul comparison to AmISame
go-symexpr/expr.go:71
↓ 55 callersFunctionAssert
(t *testing.T, condition bool, args ...interface{})
bayesian/bayesian_test.go:12
↓ 55 callersFunctionNewConstantF
(f float64)
go-symexpr/types.go:64
↓ 55 callersFunctionmax
(a, b int)
linalg/blas/indexcheck.go:64
↓ 54 callersMethodTranspose
Copy and transpose matrix. Returns new matrix.
matrix/dense.go:580
↓ 53 callersFunctionmeasure
(s []rune)
porterstemmer/porterstemmer.go:37
↓ 53 callersFunctionpartition2x2
* Partition A to 2 by 2 blocks. ATL | ATR A --> ========= ABL | ABR Parameter nb is initial block size for ATL in colum
matops/partition.go:208
↓ 52 callersMethodMinus
(MatrixRO)
go.matrix/matrix.go:40
↓ 52 callersMethodSize
Get matrix size. Return pair (rows, cols).
matrix/matrix.go:27
↓ 50 callersMethodSizeMatch
Match size. Return true if equal.
matrix/matrix.go:25
↓ 50 callersFunctioncontinue3x3to2x2
* Redefine 2 by 2 blocks from 3 by 3 partition. A00 : A01 | A02 ATL | ATR nb --------------- ========= <-- A1
matops/partition.go:318
↓ 50 callersFunctionrepartition2x2to3x3
* Repartition 2 by 2 blocks to 3 by 3 blocks. A00 | A01 : A02 ATL | ATR nb =============== ========= --> A10
matops/partition.go:244
↓ 49 callersFunctionmCopy
Copies x to y.
cvx/interfaces.go:187
↓ 47 callersMethodPow
Compute element-wise A = Pow(A).
matrix/dense_math.go:346
↓ 46 callersFunctiontrsmSolve
(t *testing.T, A *matrix.FloatMatrix, flags Flags, rand bool, nrhs, nb int)
matops/calgo/tsolve_test.go:112
↓ 45 callersFunctionMult
Generic matrix-matrix multpily. (blas.GEMM). Calculates C = beta*C + alpha*A*B (default) C = beta*C + alpha*A.T*B flags&TRANSA C = beta*C + alph
matops/mmult.go:198
↓ 44 callersFunctionNormals
(rows, cols int)
go.matrix/dense.go:293
↓ 43 callersFunctionTime
Time formats a time into a relative string. Time(someT) -> "3 weeks ago"
go-humanize/times.go:24
↓ 42 callersMethodEquals
(oi interface{})
geom/qtree/qtree.go:40
↓ 40 callersMethodSubMatrixOf
Set A to be submatrix of B starting from position row, col. Returns A. The size argument can be either: nrows, ncols or nrows, ncols, nstep. The first
matrix/dense.go:327
↓ 39 callersMethodAppend
Append sizes to dimension set key.
cvx/sets/sets.go:166
↓ 39 callersMethodSetIndex
Set value of i'th element.
matrix/dense.go:505
↓ 39 callersMethodTimes
(MatrixRO)
go.matrix/matrix.go:41
↓ 38 callersFunctionNewAdd
()
go-symexpr/types.go:322
↓ 37 callersMethodGet
* Get the element in the ith row and jth column. */
go.matrix/dense.go:57
↓ 35 callersMethodCopyTo
Copy A to B, A and B number of elements need not match. Copies min(A.NumElements(), B.NumElements()) from start of A to start of B.
matrix/dense.go:440
↓ 35 callersMethodDot
Return the inner product of two vectors u and v in a vector space.
cvx/interfaces.go:175
↓ 35 callersFunctionMakeDenseMatrix
(elements []float64, rows, cols int)
go.matrix/dense.go:324
↓ 34 callersMethodLen
()
stat/types.go:31
↓ 34 callersFunctionMean
* mean.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This program
stat/mean.go:24
↓ 34 callersMethodm
()
cvx/cp.go:94
↓ 33 callersFunctionSolveTrm
Solve multiple right sides. If flags&UNIT then A diagonal is assumed to to unit and is not referenced. (blas.TRSM) alpha*B = A.-1*B if flags&LEFT alph
matops/mmult.go:388
↓ 32 callersMethodFloat
Return the first element column-major element array.
matrix/dense.go:377
↓ 31 callersMethodEqualTypes
Test for type equality.
matrix/matrix.go:29
↓ 30 callersMethodError
(other *Path)
geom/path.go:115
↓ 30 callersFunctionmaxStep
Returns min {t | x + t*e >= 0}, where e is defined as follows - For the nonlinear and 'l' blocks: e is the vector of ones. - For the 'q' blocks: e is
cvx/misc.go:1229
↓ 29 callersMethodError
()
vector/errors.go:25
↓ 29 callersMethodEval
eval.go Evaluates an expression at one point t is a time value x are the input Var values c are the indexed Constant values s are the indexed System v
go-symexpr/expr.go:133
↓ 29 callersMethodLog
Compute element-wise A = Log(A).
matrix/dense_math.go:341
↓ 29 callersMethodScale
(xfactor, yfactor float64)
geom/geom.go:14
↓ 28 callersMethodAmIAlmostSame
equality without coefficient values/index
go-symexpr/expr.go:70
↓ 28 callersMethodMul
(y Fixed)
fixed/fixed.go:58
↓ 28 callersFunction_dmult_mm_intern
matops/calgo/dmmat_gemm.c:419
↓ 27 callersMethodAddVertex
(v Coord)
geom/path.go:88
↓ 27 callersFunctionDecomposeBK
(A, W *matrix.FloatMatrix, ipiv []int, flags Flags, nb int)
matops/ldlbk.go:1107
↓ 27 callersMethodScal
Computes u := alpha*u for a scalar alpha and vectors u in a vector space.
cvx/interfaces.go:177
↓ 27 callersMethodSize
stats.go
go-symexpr/expr.go:59
↓ 27 callersMethodToString
Convert matrix to row-major string representation using format as element format.
matrix/dense_string.go:40
↓ 27 callersFunctioncheck_level2_func
(ind *linalg.IndexOpts, fn funcNum, X, Y, A matrix.Matrix, pars *linalg.Parameters)
linalg/blas/indexcheck.go:152
↓ 26 callersMethodAxpy
Computes v := alpha*u + v for a scalar alpha and vectors u and v.
cvx/interfaces.go:173
↓ 26 callersFunctionfabs
(f float32)
blas/s_test.go:9
↓ 25 callersMethodAmILess
compare.go
go-symexpr/expr.go:67
↓ 25 callersMethodAt
Get named set
cvx/sets/sets.go:56
↓ 25 callersFunctionCommaf
Commaf produces a string form of the given number in base 10 with commas after every three orders of magnitude. e.g. Comma(834142.32) -> 834,142.32
go-humanize/comma.go:43
↓ 25 callersMethodMul
Compute element-wise product A *= B. Return A. If A and B sizes do not match A is returned unaltered.
matrix/dense_math.go:150
↓ 25 callersFunctionProbablyPrimeUint64_32
ProbablyPrimeUint64_32 returns true if n is prime or n is a pseudoprime to base a. It implements the Miller-Rabin primality test for one specific valu
mathutil/mathutil.go:532
next →1–100 of 3,549, ranked by callers