MCPcopy Create free account

hub / github.com/andeya/algorithm / functions

Functions3,549 in github.com/andeya/algorithm

↓ 3 callersMethodSeen
Seen returns the number of documents ever classified in the lifetime of this classifier.
bayesian/bayesian.go:219
↓ 3 callersMethodSelectOne
Select one from pop
ga/selector.go:19
↓ 3 callersMethodSetFromTrm
(g FloatGenerator, tridiagonal ...Tridiagonal)
matrix/dense.go:539
↓ 3 callersMethodSimplify
(rules SimpRules)
go-symexpr/simp.go:35
↓ 3 callersMethodSimplify
(rules SimpRules)
go-symexpr/simp.go:86
↓ 3 callersFunctionSqrtBig
SqrtBig returns floor(sqrt(n)). It panics on n < 0.
mathutil/mathutil.go:149
↓ 3 callersMethodStack
* Creates a new matrix [A;B], where A is above B. */
go.matrix/sparse.go:179
↓ 3 callersFunctionString
(A MatrixRO)
go.matrix/matrix.go:180
↓ 3 callersMethodSubtractDense
(B *DenseMatrix)
go.matrix/dense_arithmetic.go:82
↓ 3 callersFunctionSum
* Finds the sum of two matrices. */
go.matrix/arithmetic.go:12
↓ 3 callersFunctionSwap
Interchanges two vectors (X <-> Y). ARGUMENTS X float or complex matrix Y float or complex matrix. Must have the same type as X. OP
linalg/blas/level1.go:198
↓ 3 callersFunctionToBase
ToBase produces n in base b. For example ToBase(2047, 22) -> [1, 5, 4] 1 * 22^0 1 5 * 22^1 110 4 * 22^2 1936
mathutil/mathutil.go:805
↓ 3 callersFunctionVectorAngle
(X, Y Coord)
geom/coord.go:128
↓ 3 callersFunctionWSdMean
(w, data Interface, wmean float64)
stat/wvariance.go:80
↓ 3 callersMethodY
()
pso-go/pso_test.go:51
↓ 3 callersFunction_inner_vec2_daxpy
Update Y with 2 columns of A
matops/calgo/inner_vec_axpy.h:161
↓ 3 callersFunction_inner_vec2_daxpy_sse
Update Y with 2 columns of A
matops/calgo/inner_vec_axpy.h:280
↓ 3 callersFunction_inner_vec2_ddot
matops/calgo/inner_vec_dot.h:57
↓ 3 callersFunction_inner_vec2_ddot_sse
matops/calgo/inner_vec_dot.h:169
↓ 3 callersFunction_inner_vec_ddot
Update Y one cell with A[i:]*X
matops/calgo/inner_vec_dot.h:15
↓ 3 callersFunctionapplyHHTo2x1
* * Applies a real elementary reflector H to a real m by n matrix A, * from either the left or the right. H is represented in the form * * H
matops/house.go:145
↓ 3 callersFunctionapplyPivotSym
* * Apply diagonal pivot (row and column swapped) to symmetric matrix blocks. * AR[0,0] is on diagonal and AL is block to the left of diagonal and A
matops/pivot.go:142
↓ 3 callersMethodbelow
Checks if this sweep event is below point p.
polyclip-go/endpoint.go:71
↓ 3 callersFunctionbenchmark1eN
(b *testing.B, r *FC32)
mathutil/all_test.go:83
↓ 3 callersFunctioncomputeScaling
* Returns the Nesterov-Todd scaling W at points s and z, and stores the scaled variable in lmbda. W * z = W^{-T} * s = lmbda. W is a
cvx/misc.go:705
↓ 3 callersFunctionconelp_problem
(c MatrixVariable, G MatrixVarG, h *matrix.FloatMatrix, A MatrixVarA, b MatrixVariable, dims *sets.DimensionS
cvx/conelp.go:382
↓ 3 callersFunctionconeqp_problem
(P MatrixVarP, q MatrixVariable, G MatrixVarG, h *matrix.FloatMatrix, A MatrixVarA, b MatrixVariable, dims *s
cvx/coneqp.go:373
↓ 3 callersFunctionconsonant
consonant returns whether the letter at offset is a consonant
paicehusk/stemmer.go:230
↓ 3 callersFunctioncp_problem
Here problem is already translated to epigraph format except original convex problem. We wrap it and create special CP epigraph kktsolver.
cvx/cp.go:681
↓ 3 callersFunctioncpl_problem
(F ConvexProg, c MatrixVariable, G MatrixVarG, h *matrix.FloatMatrix, A MatrixVarA, b MatrixVariable, dims *s
cvx/cpl.go:360
↓ 3 callersFunctiondCheck
(t *testing.T, inc, N int, r, e float64)
blas/d_test.go:16
↓ 3 callersFunctionddot
Calculates X.T*Y
linalg/blas/cgo_double.go:41
↓ 3 callersFunctiondgemv
go-lm/interfaceBLAS-LAPACK.c:49
↓ 3 callersFunctiondger
(M int, N int, alpha float64, X []float64, incX int, Y []float64, incY int, A []float64, lda int)
linalg/blas/cgo_double.go:384
↓ 3 callersFunctiondsbmv
For symmetric band matrix and vector X solve Y = alpha * A * X + beta * Y
linalg/blas/cgo_double.go:339
↓ 3 callersFunctiondsymv
For symmetric matrix and vector X solve Y = alpha * A * X + beta * Y
linalg/blas/cgo_double.go:317
↓ 3 callersFunctiondsyr
(uplo string, N int, alpha float64, X []float64, incX int, A []float64, lda int)
linalg/blas/cgo_double.go:401
↓ 3 callersFunctiondsyr2
(uplo string, N int, alpha float64, X []float64, incX int, Y []float64, incY int, A []float64, lda int)
linalg/blas/cgo_double.go:434
↓ 3 callersFunctiondsyr2k
(uplo, trans string, N int, K int, alpha float64, A []float64, lda int, B []float64, ldb int, beta float64
linalg/blas/cgo_double.go:572
↓ 3 callersFunctiondsyrk
(uplo, trans string, N int, K int, alpha float64, A []float64, lda int, beta float64, C []float64, ldc
linalg/blas/cgo_double.go:544
↓ 3 callersFunctionhasConsonantVowelConsonantSuffix
(s []rune)
porterstemmer/porterstemmer.go:174
↓ 3 callersFunctionhasRepeatDoubleConsonantSuffix
(s []rune)
porterstemmer/porterstemmer.go:150
↓ 3 callersMethodinsertSubTrees
(element Item)
geom/qtree/qtree.go:78
↓ 3 callersFunctionisDigit
(s string, maxLen int)
chinaid/china_id.go:237
↓ 3 callersFunctionmaxdim
(vec []int)
cvx/misc.go:20
↓ 3 callersFunctionmix
(set []int64, seed *uint64)
mathutil/rnd.go:182
↓ 3 callersMethodpossibleIntersection
(e1, e2 *endpoint)
polyclip-go/clipper.go:378
↓ 3 callersFunctionscalePivots
(p *pPivots, offset int)
matops/pivot.go:44
↓ 3 callersFunctionsinv
* The inverse product x := (y o\ x), when the 's' components of y are diagonal. */
cvx/misc.go:1014
↓ 3 callersFunctionssqr
The product x := y o y. The 's' components of y are diagonal and only the diagonals of x and y are stored.
cvx/misc.go:1201
↓ 3 callersFunctionunblockedBuildQ
Build Q in place by applying elementary reflectors in reverse order to an implied identity matrix. This forms Q = H(1)H(2) ... H(k) this is compatib
matops/qrwyk.go:19
↓ 3 callersFunctionunblockedQRT
* * Unblocked QR decomposition with block reflector T. */
matops/qrwy.go:90
↓ 3 callersFunctionunpack
* The vector x is an element of S, with the 's' components stored in unpacked storage and off-diagonal entries scaled by sqrt(2). On return,
cvx/misc.go:1358
↓ 3 callersFunctionupdateScaling
* Updates the Nesterov-Todd scaling matrix W and the scaled variable lmbda so that on exit W * zt = W^{-T} * st = lmbda. On entry,
cvx/misc.go:427
↓ 3 callersFunctionvowel
vowel returns whether the letter at offset is a vowel
paicehusk/stemmer.go:244
↓ 2 callersFunctionABMNToStruct
Parses a string representation of a BMN-Coordinate into a struct holding a BMN coordinate value. The reference ellipsoid of BMN coordinates is always
cartconvert/cartconvert/bmn/bmn.go:90
↓ 2 callersFunctionAbsdev
(data Interface)
stat/absdev.go:27
↓ 2 callersFunctionAdd
Make a copy C of A and compute C += alpha for all elements in the matrix if list of indexes is empty. Otherwise compute C[i] += alpha for indexes in c
matrix/cmath/math.go:51
↓ 2 callersMethodAdd
Add is a convenience method for appending a contour to a polygon.
polyclip-go/geom.go:189
↓ 2 callersMethodAddIndexes
Compute in-place A[indexes[i]] += values[i]. Indexes are in column-major order.
matrix/dense_math.go:114
↓ 2 callersMethodAddSparse
* Add another matrix to this one in place, optimized for sparsity. */
go.matrix/sparse_arithmetic.go:67
↓ 2 callersMethodAmISame
(r Expr)
go-symexpr/compare.go:99
↓ 2 callersMethodApplyConstValues
Compute A = fn(A, x) by applying function fn element wise to A. For all i in indexes: A[indexes[i]] = fn(A[indexes[i]], values[i])
matrix/dense_math.go:251
↓ 2 callersMethodArray
* Returns the contents of this matrix stored into a flat array (row-major). */
go.matrix/dense.go:37
↓ 2 callersMethodBest
Get best values. Before start steps it takes nil.
pso-go/solver.go:138
↓ 2 callersMethodBest
()
ga/ga_parallel.go:80
↓ 2 callersFunctionBigratToFloat
BigratToFloat converts a *big.Rat to a float64 (with loss of precision).
evaler/evaler.go:237
↓ 2 callersFunctionBitLen
BitLen returns the bit width of the non zero part of n.
mathutil/bits.go:43
↓ 2 callersMethodCenter
()
geom/rect.go:37
↓ 2 callersFunctionCheckCode
CheckCode generates check code of chinese identity card number.
chinaid/china_id.go:80
↓ 2 callersMethodClone
()
go-symexpr/types.go:114
↓ 2 callersMethodClone
()
go-symexpr/types.go:204
↓ 2 callersMethodClone
()
go-symexpr/types.go:282
↓ 2 callersMethodColPivotDense
* Equivalent to AxP, but streamlined to take advantage of the datastructures. */
go.matrix/pivot_arithmetic.go:84
↓ 2 callersMethodComplexArray
Return the flat column-major element array.
matrix/cdense.go:207
↓ 2 callersFunctionConeQp
Solves a pair of primal and dual convex quadratic cone programs minimize (1/2)*x'*P*x + q'*x subject to G*x + s = h A*x = b s >= 0 maximize -
cvx/coneqp.go:90
↓ 2 callersMethodCopy
()
ga/genome_ordered_int.go:125
↓ 2 callersFunctionCorrelation
* Correlation() Calculate Pearson correlation = cov(X, Y) / (sigma_X * sigma_Y) This routine efficiently computes the correlation in one pass of the
stat/covariance.go:70
↓ 2 callersFunctionCovariance
(data1, data2 Interface)
stat/covariance.go:45
↓ 2 callersFunctionCp
Solves a convex optimization problem with a linear objective minimize f0(x) subject to fk(x) <= 0, k = 1, ..., mnl G*x <= h A*x = b. f is v
cvx/cp.go:389
↓ 2 callersFunctionCrossProduct
Cross product of two vectors. Returns error when ndim of either vector != 3.
vector/vector.go:212
↓ 2 callersMethodCrossProduct
Cross product with another vector, in-place. Returns error when ndim of either vector != 3.
vector/vector.go:140
↓ 2 callersFunctionDDot
return: alpha * X * Y
matops/calgo/cmops.go:510
↓ 2 callersFunctionDSymmRank2MV
A = A + alpha * x * y.T; A is M*N, x is M*1, Y is N*1, 0 < R < E <= M, 0 < S < L <= N blas SYR2; blocked version
matops/calgo/cmops.go:377
↓ 2 callersFunctionDSymmRankMV
A = A + alpha * x * y.T; A is M*N, x is M*1, Y is N*1, 0 < R < E <= M, 0 < S < L <= N blas SYR; blocked version
matops/calgo/cmops.go:355
↓ 2 callersFunctionDTrmUpdMV
generic triangular matrix rank update; A = A + alpha*X*Y.T
matops/calgo/cmops.go:401
↓ 2 callersFunctionDasum
Absolute sum: \sum |X_i|
blas/dasum.go:4
↓ 2 callersFunctionDcopy
Copy the elements of the vectors X and Y.
blas/dcopy.go:4
↓ 2 callersFunctionDecomposeLDLnoPiv
* * Compute an LDLT factorization of a symmetric N-by-N matrix without pivoting. * * Arguments: * A On entry, the N-by-N matrix to be facto
matops/ldlnp.go:210
↓ 2 callersMethodDenseMatrix
* Convert this PivotMatrix into a DenseMatrix. */
go.matrix/pivot.go:35
↓ 2 callersMethodDiagonalCopy
returns a copy of the diagonal (not a slice)
go.matrix/dense_data.go:26
↓ 2 callersFunctionDirectTransverseMercator
## Transverse Mercator Projection Direct transverse mercator projection: Projection of an ellipsoid onto the surface of of a cylinder. Also known as G
cartconvert/cartconvert/cartconvert.go:468
↓ 2 callersFunctionDistanceSquare
Return the square of the Mahalanobis distance points.Rows() = dimensions. points.Cols() = number of points. target.Cols = 1
go.mahalanobis/mahalanobis.go:95
↓ 2 callersMethodDivideWithDuration
(t time.Duration)
units/angle.go:32
↓ 2 callersFunctionDnrm2
Euclidean norm: ||X||_2 = \sqrt {\sum X_i^2}
blas/dnrm2.go:6
↓ 2 callersFunctionDrot
Apply a Givens rotation (X', Y') = (c X + s Y, c Y - s X) to the vectors X, Y
blas/drot.go:4
↓ 2 callersFunctionDswap
Exchange the elements of the vectors X and Y.
blas/dswap.go:4
↓ 2 callersMethodEquals
Equals returns true if both p1 and p2 describe exactly the same point.
polyclip-go/geom.go:37
↓ 2 callersMethodEvalValue
Get the evaluated value by target function.
pso-go/particle.go:155
↓ 2 callersFunctionFloatMatrixStacked
Create a new matrix from a list of matrices. New matrix has dimension (M, colmax) if direction is StackDown, and (rowmax, N) if direction is StackRigh
matrix/dense.go:196
← previousnext →601–700 of 3,549, ranked by callers