MCPcopy Create free account

hub / github.com/andeya/algorithm / functions

Functions3,549 in github.com/andeya/algorithm

↓ 5 callersMethodSetMatrix
* Copy B into A, with B's 0, 0 aligning with A's i, j */
go.matrix/dense.go:110
↓ 5 callersFunctionTimes
Compute matrix product C = A * B where A is m*p and B is p*n. Returns a new m*n matrix.
matrix/math.go:114
↓ 5 callersMethodTimesDense
(B *DenseMatrix)
go.matrix/dense_arithmetic.go:224
↓ 5 callersMethodTriangles
()
geom/poly.go:107
↓ 5 callersMethodU
* Get a copy of this matrix with 0s below the diagonal. */
go.matrix/dense.go:142
↓ 5 callersFunctionVertexAngle
(A, B, C Coord)
geom/coord.go:139
↓ 5 callersMethodX
()
pso-go/pso_test.go:47
↓ 5 callersFunction_DBG
func _DBG(f func()) { f() }
polyclip-go/clipper.go:32
↓ 5 callersFunction_dblock_mult_panel
Second version; assumes C is correct destination block i.e C->md points to C[R, E]; and that A->md is start of A panel and B->md is start of B panel.
matops/calgo/dmmat_gemm.c:202
↓ 5 callersFunction_inner_vec_daxpy
Update Y with 1 column of A
matops/calgo/inner_vec_axpy.h:123
↓ 5 callersMethodaccept
accept consumes the next rune if it's from the valid set.
go-symexpr/lexer.go:204
↓ 5 callersMethodacceptRun
acceptRun consumes a run of runes from the valid set.
go-symexpr/lexer.go:213
↓ 5 callersFunctionbenchmarkSqrtBig
(b *testing.B, bits int)
mathutil/all_test.go:895
↓ 5 callersFunctioncontainsVowel
(s []rune)
porterstemmer/porterstemmer.go:132
↓ 5 callersFunctiondebugln
(args ...interface{})
geom/poly_test.go:12
↓ 5 callersMethodenqueue
(e *endpoint)
polyclip-go/eventqueue.go:35
↓ 5 callersFunctionloadTemplate
(templatename string, funcs template.FuncMap, patterns []string, rootTemplate, detailedTemplate string)
schoolcalc/webzapfen/webzapfen.go:100
↓ 5 callersFunctionmaxInt
(x, y int)
go.matrix/util.go:16
↓ 5 callersFunctionnewEpigraph
(m *matrix.FloatMatrix, t float64)
cvx/cp.go:26
↓ 5 callersMethodnext
next returns the next rune in the input.
go-symexpr/lexer.go:170
↓ 5 callersFunctionserialize
serialize gets called by the respective handler methods to perform the serialization in the requested output representation
cartconvert/cartconvserv/cartconvserv.go:99
↓ 5 callersFunctionsprod
The product x := (y o x). If diag is 'D', the 's' part of y is diagonal and only the diagonal is stored.
cvx/misc.go:1111
↓ 4 callersFunctionAddUint128_64
AddUint128_64 returns the uint128 sum of uint64 a and b.
mathutil/mathutil.go:358
↓ 4 callersFunctionApply
Make a copy C of A and apply function fn element wise to C. For indexes is not empty then C[indexes[i]] = fn(C[indexes[i]]). Returns a new matrix.
matrix/cmath/math.go:149
↓ 4 callersMethodApplyConst
Compute A = fn(A, x) by applying function fn element wise to A. If indexes array is non-empty function is applied to elements of A indexed by the cont
matrix/dense_math.go:230
↓ 4 callersMethodAugment
* Get a new matrix [A B]. */
go.matrix/dense.go:167
↓ 4 callersFunctionBigBytes
BigBytes produces a human readable representation of an SI size. See also: ParseBigBytes. BigBytes(82854982) -> 83MB
go-humanize/bigbytes.go:117
↓ 4 callersFunctionBigIBytes
BigIBytes produces a human readable representation of an IEC size. See also: ParseBigBytes. BigIBytes(82854982) -> 79MiB
go-humanize/bigbytes.go:127
↓ 4 callersFunctionBitLenUintptr
BitLenUintptr returns the bit width of the non zero part of n.
mathutil/bits.go:118
↓ 4 callersFunctionConeLp
Solves a pair of primal and dual cone programs minimize c'*x subject to G*x + s = h A*x = b s >= 0 maximize -h'*z - b'*y subject to G'*z + A
cvx/conelp.go:124
↓ 4 callersMethodConstruct
Construct computes a 2D polygon, which is a result of performing specified Boolean operation on the provided pair of polygons (p <Op> clipping). It us
polyclip-go/geom.go:220
↓ 4 callersMethodContainsCoord
(p Coord)
geom/rect.go:43
↓ 4 callersMethodContainsRect
(o Rect)
geom/rect.go:47
↓ 4 callersFunctionCrossProduct
(p, q Coord)
geom/coord.go:123
↓ 4 callersFunctionDMultSymm
(C, A, B []float64, alpha, beta float64, flags Flags, ldC, ldA, ldB, P, S, L, R, E, H, NB, MB int)
matops/calgo/cmops.go:92
↓ 4 callersFunctionDaxpy
Compute the sum Y = \alpha X + Y for the vectors X and Y
blas/daxpy.go:4
↓ 4 callersFunctionDecomposeLU
* * Compute an LU factorization of a general M-by-N matrix using * partial pivoting with row interchanges. * * Arguments: * A On entry, th
matops/lu.go:254
↓ 4 callersFunctionDecomposeLUnoPiv
* * Compute an LU factorization of a general M-by-N matrix without pivoting. * * Arguments: * A On entry, the M-by-N matrix to be factored. On
matops/lu.go:288
↓ 4 callersFunctionDedupe
Dedupe returns n, the number of distinct elements in data. The resulting elements are sorted in elements [0, n) or data[:n] for a slice.
sortutil/sortutil.go:254
↓ 4 callersMethodDet
The determinant of this matrix.
go.matrix/matrix.go:44
↓ 4 callersFunctionDscal
Rescale the vector X by the multiplicative factor alpha
blas/dscal.go:4
↓ 4 callersMethodElementMult
(B MatrixRO)
go.matrix/dense_arithmetic.go:278
↓ 4 callersFunctionEye
* Create an identity matrix with span rows and span columns. */
go.matrix/dense.go:285
↓ 4 callersMethodF2
F(x, z) with z a positive matrix of size (mnl, 1). Return a tuple (f, Df, H), where f, Df as above. H is matrix of size (n, n).
cvx/cp.go:123
↓ 4 callersFunctionHasFactorBigInt
HasFactorBigInt returns true if d | Mn, d > 0. Typical run time for a 128 bit factor and a 32 bit exponent is < 75 µs.
mathutil/mersenne/mersenne.go:129
↓ 4 callersFunctionISqrt
ISqrt returns floor(sqrt(n)). Typical run time is few hundreds of ns.
mathutil/mathutil.go:109
↓ 4 callersFunctionIndexes
Create an index set. Three argument call is (start, end, step) where start < end and step > 0. It produces set of indexes from start to end-1 with ste
matrix/matrix.go:254
↓ 4 callersFunctionInverseTrm
(A *matrix.FloatMatrix, flags Flags, nb int)
matops/trinv.go:217
↓ 4 callersFunctionIsPrimeUint16
IsPrimeUint16 returns true if n is prime. Typical run time is few ns.
mathutil/primes.go:12
↓ 4 callersMethodLUInPlace
* Overwrites A with [L\U] and returns P, st PLU=A. L is considered to have 1s in the diagonal. */
go.matrix/dense_decomp.go:70
↓ 4 callersMethodLearned
Learned returns the number of documents ever learned in the lifetime of this classifier.
bayesian/bayesian.go:213
↓ 4 callersMethodLen
()
evaler/stack/stack.go:47
↓ 4 callersMethodLength
Length returns distance from p to point (0, 0).
polyclip-go/geom.go:42
↓ 4 callersMethodMagnitude
()
geom/coord.go:74
↓ 4 callersFunctionMakeDenseMatrixStacked
(data [][]float64)
go.matrix/dense.go:333
↓ 4 callersFunctionMax
Max finds the first largest member and the members position within the data
stat/minmax.go:28
↓ 4 callersMethodMax
()
pso-go/particle.go:91
↓ 4 callersMethodMax
(y Fixed)
fixed/fixed.go:119
↓ 4 callersFunctionMeanVector
Given a set a points, return the mean vector. points.Rows() = dimensions. points.Cols() = number of points.
go.mahalanobis/mahalanobis.go:46
↓ 4 callersFunctionMin
Min finds the first smallest member and the members position within the data
stat/minmax.go:51
↓ 4 callersMethodMin
()
pso-go/particle.go:82
↓ 4 callersFunctionMinmax
Minmax finds the first smallest and largest members and the members positions within the data
stat/minmax.go:75
↓ 4 callersFunctionModPow
ModPow returns b^Me % Mm. Run time grows quickly with 'e' and/or 'm' when b != 2 (then ModPow2 is used).
mathutil/mersenne/mersenne.go:258
↓ 4 callersFunctionModPow2
ModPow2 returns x such that 2^Me % Mm == 2^x. It panics for m < 2. Typical run time is < 1 µs. Use instead of ModPow(2, e, m) wherever possible.
mathutil/mersenne/mersenne.go:208
↓ 4 callersFunctionModPowUint32
ModPowUint32 computes (b^e)%m. It panics for m == 0 || b == e == 0.
mathutil/mathutil.go:280
↓ 4 callersFunctionNewLog
(e Expr)
go-symexpr/types.go:216
↓ 4 callersFunctionNextPrimeUint16
NextPrimeUint16 returns first prime > n and true if successful or an undefined value and false if there is no next prime in the uint16 limits. Typical
mathutil/primes.go:19
↓ 4 callersFunctionNumPivots
(ipiv []int)
matops/pivot.go:289
↓ 4 callersFunctionNumbers
(rows, cols int, num float64)
go.matrix/dense.go:270
↓ 4 callersMethodPos
Pos reports the current position within the inner cycle.
mathutil/rnd.go:103
↓ 4 callersMethodPos
Pos reports the current position within the inner cycle.
mathutil/rnd.go:290
↓ 4 callersFunctionPowerizeBigInt
PowerizeBigInt returns (e, p) such that e is the smallest number for which p == b^e is greater or equal n. For n < 0 or b < 2 (0, nil) is returned. N
mathutil/mathutil.go:399
↓ 4 callersFunctionPrimorialProductsUint32
PrimorialProductsUint32 returns a slice of numbers in [lo, hi] which are a product of max 'max' primorials. The slice is not sorted. See also: http:/
mathutil/primes.go:311
↓ 4 callersMethodRemove
Remove set.
cvx/sets/sets.go:79
↓ 4 callersMethodSafeProbScores
SafeProbScores works the same as ProbScores, but is able to detect underflow in those cases where underflow results in the reverse classification. If
bayesian/bayesian.go:331
↓ 4 callersFunctionSaxpy
Compute the sum Y = \alpha X + Y for the vectors X and Y
blas/saxpy.go:4
↓ 4 callersFunctionScale
Scaling with scalar: X = alpha * X
matops/mvec.go:435
↓ 4 callersMethodSetAt
Set the element in the i'th row and j'th column to val.
matrix/cdense.go:362
↓ 4 callersMethodSimplify
(rules SimpRules)
go-symexpr/simp.go:879
↓ 4 callersFunctionSqrtUint64
SqrtUint64 returns floor(sqrt(n)). Typical run time is about 0.5 µs.
mathutil/mathutil.go:129
↓ 4 callersFunctionSscal
Rescale the vector X by the multiplicative factor alpha
blas/sscal.go:4
↓ 4 callersMethodSubtract
(MatrixRO)
go.matrix/matrix.go:65
↓ 4 callersMethodSwap
(int, int)
stat/types.go:88
↓ 4 callersMethodTop
()
evaler/stack/stack.go:36
↓ 4 callersMethodTransform
Method to perform the Helmert transformation on a generic 3D datum and return a new datum. Instances of helmert transformations might be created by ca
cartconvert/cartconvert/cartconvert.go:1022
↓ 4 callersFunctionTriL
Make A tridiagonal, lower, non-unit matrix by clearing the strictly upper part of the matrix.
matops/tri.go:70
↓ 4 callersFunctionVariance
(data Interface)
stat/variance.go:59
↓ 4 callersMethodWordCount
WordCount returns the number of words counted for each class in the lifetime of the classifier.
bayesian/bayesian.go:225
↓ 4 callersFunction_dmvec_vpur_syr_lower
matops/calgo/dmvec_rank.c:191
↓ 4 callersFunction_dmvec_vpur_syr_upper
matops/calgo/dmvec_rank.c:150
↓ 4 callersFunction_inner_axpy_trans
matops/calgo/inner_ddot_trans.h:71
↓ 4 callersFunction_inner_daxpy
This will do efectively AXPY C[:,i] = w * A[:,k] + C[:,i] where w = alpha * B[k,i]
matops/calgo/inner_axpy.h:13
↓ 4 callersFunction_inner_ddot
matops/calgo/inner_ddot.h:669
↓ 4 callersFunction_inner_ddot_trans
matops/calgo/inner_ddot_trans.h:12
↓ 4 callersFunction_inner_mv_daxpy
update 1 column of A matrix (a0) with vector X scaled with elements y0
matops/calgo/dmvec_rank.c:14
↓ 4 callersFunction_inner_mv_daxpy2
update 2 columns of A matrix (a0, a1) with vector X scaled with elements y0, y1
matops/calgo/dmvec_rank.c:52
↓ 4 callersFunction_variance
(data Interface, mean float64)
stat/variance.go:27
↓ 4 callersMethodabove
(x Point)
polyclip-go/endpoint.go:78
↓ 4 callersFunctionabs
(x int)
polyclip-go/polyutil/draw.go:28
↓ 4 callersFunctionapplyBKPivotSym
(1.0 + sqrt(17.0))/8.0 * * Apply diagonal pivot (row and column swapped) to symmetric matrix blocks. * * LOWER triangular; moving from top-left to
matops/ldlbk.go:47
← previousnext →401–500 of 3,549, ranked by callers