MCPcopy Create free account

hub / github.com/andeya/algorithm / functions

Functions3,549 in github.com/andeya/algorithm

↓ 13 callersFunctionTriU
Make A tridiagonal, upper, non-unit matrix by clearing the strictly lower part of the matrix.
matops/tri.go:15
↓ 13 callersFunctiondelete
(set []int64, i int)
mathutil/rnd.go:173
↓ 13 callersFunctionsnrm2
Returns the norm of a vector in S
cvx/misc.go:934
↓ 13 callersFunctionverify
(t *T, cond bool, format string, args ...interface{})
polyclip-go/polyutil/encdec_test.go:28
↓ 12 callersMethodAdd
Compute in-place A += alpha for all elements in the matrix if list of indexes is empty. Otherwise compute A[i] += alpha for indexes in column-major or
matrix/dense_math.go:94
↓ 12 callersFunctionDMult
Generic matrix-matrix multiplication for block [R:E, S:L] with panel length P. if trans is NOTRANS then calculates C = alpha*A*B + beta*C; C is M*N,
matops/calgo/cmops.go:66
↓ 12 callersMethodExp
Compute element-wise A = Exp(A).
matrix/dense_math.go:331
↓ 12 callersFunctionMVRankUpdate
Matrix-vector rank update A = A + alpha*X*Y.T A is M*N generic matrix, X is row or column vector of length M Y is row or column vector of legth N.
matops/mvec.go:65
↓ 12 callersFunctionNewFCBig
NewFCBig returns a newly created FCBig adjusted for the closed interval [lo, hi] or an Error if any. If hq == true then trade some generation time for
mathutil/rnd.go:216
↓ 12 callersFunctionNewSqrt
(e Expr)
go-symexpr/types.go:126
↓ 12 callersMethodNext
Next returns the first PRN after Pos.
mathutil/rnd.go:98
↓ 12 callersFunctionOrdinal
Ordinal gives you the input number in a rank/ordinal format. Ordinal(3) -> 3rd
go-humanize/ordinals.go:8
↓ 12 callersMethodVertex
(index int)
geom/poly.go:41
↓ 12 callersFunctionbenchmarkFromFactorBigInt
20 bit factor of M100000223
mathutil/mersenne/all_test.go:530
↓ 12 callersFunctionscale2
* Evaluates x := H(lambda^{1/2}) * x (inverse is 'N') x := H(lambda^{-1/2}) * x (inverse is 'I'). H is the Hessian of the log
cvx/misc.go:297
↓ 12 callersFunctionsolveMVTest
(t *testing.T, A, X0 *matrix.FloatMatrix, flags Flags, bN, bNB int)
matops/calgo/tsolve_test.go:10
↓ 11 callersMethodMod
Compute in-place remainder A[i,j] %= alpha
matrix/dense_math.go:52
↓ 11 callersFunctionNewSin
(e Expr)
go-symexpr/types.go:144
↓ 11 callersMethodPop
()
evaler/stack/stack.go:22
↓ 11 callersFunctionSd
(data Interface)
stat/variance.go:64
↓ 11 callersFunctiondegtorad
(deg float64)
cartconvert/cartconvert/cartconvert.go:168
↓ 11 callersMethodgetWordProb
getWordProb returns P(W|C_j) -- the probability of seeing a particular word W in a document of this class.
bayesian/bayesian.go:117
↓ 11 callersFunctionlg2
(n uint64)
mathutil/all_test.go:1104
↓ 10 callersFunctionComplexZeros
Create new zero filled matrix.
matrix/cdense.go:132
↓ 10 callersFunctionDecomposeBlockSize
Set global decomposition block size for blocked versions.
matops/lu.go:34
↓ 10 callersFunctionDrotg
Compute a Givens rotation (c,s) which zeroes the vector (a,b)
blas/drotg.go:6
↓ 10 callersFunctionFloatWithValue
Create new matrix initialized to value.
matrix/dense.go:247
↓ 10 callersMethodMin
(y Fixed)
fixed/fixed.go:126
↓ 10 callersMethodSet
Append dimension key to dis.
cvx/sets/sets.go:178
↓ 10 callersMethodSet
(i int, j int, v float64)
go.matrix/sparse.go:71
↓ 10 callersMethodSetSize
Set dimensions. Does not affect element allocations. Optional 3rd argument sets also the row stride of data.
matrix/matrix.go:110
↓ 10 callersMethodSetSubMatrix
Set values for sub-matrix starting at (row, col). If row+mat.Rows() greater than A.Rows() or col+mat.Cols() greater than A.Cols() matrix A is not chan
matrix/dense_depreceated.go:201
↓ 10 callersFunctionSrotg
Compute a Givens rotation (c,s) which zeroes the vector (a,b)
blas/srotg.go:6
↓ 10 callersMethodString
()
ga/genome.go:30
↓ 10 callersFunctionTriLU
Make A tridiagonal, lower, unit matrix by clearing the strictly upper part of the matrix and setting diagonal elements to one.
matops/tri.go:52
↓ 10 callersFunctiondebugf
(format string, args ...interface{})
geom/poly_test.go:17
↓ 10 callersFunctiondscal
Calculate X = alpha*X.
linalg/blas/cgo_double.go:90
↓ 10 callersFunctionmakeRandomVector
Helper function, make a pseudo-random Vector with dimension dim.
vector/vector_test.go:401
↓ 10 callersFunctionmax
(x, y float64)
go.matrix/util.go:9
↓ 10 callersFunctionnrmError
(ref, val *matrix.FloatMatrix)
cvx/conelp_test.go:12
↓ 9 callersMethodClone
()
go-symexpr/types.go:359
↓ 9 callersFunctionDefaultRules
()
go-symexpr/simp.go:21
↓ 9 callersMethodDim
=========================== [ General Methods ] ============================ Get the dimension of the Vector.
vector/vector.go:56
↓ 9 callersMethodDiv
(y Fixed)
fixed/fixed.go:66
↓ 9 callersMethodDo
(foo func(x Item))
geom/qtree/qtree.go:418
↓ 9 callersMethodEqual
Test for equality. Return true if for all i,j: all A[i,j] = B[i,j]
matrix/dense_bool.go:12
↓ 9 callersMethodError
()
go.matrix/error.go:24
↓ 9 callersMethodGetMatrix
* Get a submatrix starting at i,j with rows rows and cols columns. Changes to the returned matrix show up in the original. */
go.matrix/dense.go:98
↓ 9 callersMethodHasConst
DFS for a floating point valued ConstantF
go-symexpr/expr.go:79
↓ 9 callersFunctionLag1Autocorrelation
* lag-1.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This program
stat/lag-1.go:23
↓ 9 callersMethodLearn
Learn will accept new training documents for supervised learning.
bayesian/bayesian.go:236
↓ 9 callersFunctionMakePivotMatrix
(pivots []int, pivotSign float64)
go.matrix/pivot.go:59
↓ 9 callersFunctionNewAbs
(e Expr)
go-symexpr/types.go:108
↓ 9 callersFunctionNewFC32
NewFC32 returns a newly created FC32 adjusted for the closed interval [lo, hi] or an Error if any. If hq == true then trade some generation time for i
mathutil/rnd.go:37
↓ 9 callersFunctionScalePlus
A = alpha*A + beta*B A = alpha*A + beta*B.T if flags&TRANSB
matops/mmult.go:478
↓ 9 callersFunctionWMean
* wmean.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This program
stat/wmean.go:24
↓ 9 callersFunction_dblock_ddot_sse
this will compute sub-block matrix product: Cij += Aik * Bkj using successive inner vector product (DOT) function.
matops/calgo/dmmat_gemm.c:14
↓ 9 callersFunctionconf_roottemplatedir
()
schoolcalc/webzapfen/config.go:97
↓ 9 callersFunctiondivideWork
(rows, cols, workers int)
matops/mmult.go:137
↓ 9 callersFunctiondscale_tile
Scale a tile of M rows by N columns with leading index ldX.
matops/calgo/vec_scale.c:114
↓ 9 callersFunctionisConsonant
(s []rune, i int)
porterstemmer/porterstemmer.go:12
↓ 9 callersFunctiononError
(msg string)
matrix/error.go:73
↓ 9 callersFunctionparseExpr
(prefix string, L *lexer, p int)
go-symexpr/parse.go:40
↓ 9 callersFunctionpartition1x2
* Partition A to 1 by 2 blocks. A --> AL | AR Parameter nb is initial block size for AL (pLEFT) or AR (pRIGHT). */
matops/partition.go:131
↓ 9 callersFunctionscheduleWork
(colworks, rowworks, cols, rows int, worker task)
matops/mmult.go:171
↓ 9 callersMethodset
(v float64)
cvx/cp.go:104
↓ 9 callersMethodvalidate
(t *testing.T)
go-humanize/common_test.go:11
↓ 9 callersFunctionwrapIndex
(index, length int)
geom/poly.go:15
↓ 8 callersFunctionApply
Makes a copy C of A and applies function fn to elements of then new copy C. If indexes is non empty then function is applied to all elements of C inde
matrix/math.go:133
↓ 8 callersFunctionApplyRowPivots
(A *matrix.FloatMatrix, ipiv []int, direction int)
matops/pivot.go:284
↓ 8 callersFunctionDTrmUpdBlk
Generic triangular matrix update; blocked S is the start column and row in C; E is the end column and row in C
matops/calgo/cmops.go:270
↓ 8 callersMethodDiv
Compute element-wise division A /= B. Return A. If A and B sizes do not match A is returned unaltered.
matrix/dense_math.go:134
↓ 8 callersMethodF0
Returns (mnl, x0) where mln number of nonlinear inequality constraints and x0 is a point in the domain of f.
cvx/cp.go:113
↓ 8 callersMethodHasVar
has.go
go-symexpr/expr.go:74
↓ 8 callersMethodLogScores
LogScores produces "log-likelihood"-like scores that can be used to classify documents into classes. The value of the score is proportional to the li
bayesian/bayesian.go:264
↓ 8 callersFunctionNewExp
(e Expr)
go-symexpr/types.go:198
↓ 8 callersMethodNext
Next returns the first PRN after Pos.
mathutil/rnd.go:285
↓ 8 callersFunctionNextPrime
NextPrime returns first prime > n and true if successful or an undefined value and false if there is no next prime in the uint32 limits. Typical run t
mathutil/primes.go:174
↓ 8 callersMethodNumConstants
Counts the number of indexed Constant nodes
go-symexpr/expr.go:83
↓ 8 callersMethodNumVar
()
go-symexpr/expr.go:76
↓ 8 callersFunctionParamString
Map parameter value to name string that can be used when calling Fortran library functions.
linalg/consts.go:242
↓ 8 callersFunctionProbablyPrimeUint32
* ProbablyPrimeUint32 returns true if n is prime or n is a pseudoprime to base a. It implements the Miller-Rabin primality test for one specific value
mathutil/mathutil.go:508
↓ 8 callersMethodScale
Compute in-place A *= alpha for all elements in the matrix if list of indexes is empty. Otherwise compute A[i] *= alpha for indexes in column-major or
matrix/dense_math.go:13
↓ 8 callersMethodSet
* Set the element in the ith row and jth column to v. */
go.matrix/dense.go:78
↓ 8 callersFunctionSolveBK
(B, A *matrix.FloatMatrix, ipiv []int, flags Flags)
matops/ldlbks.go:302
↓ 8 callersFunctionUpdateTrm
Generic update for triangular lower or upper matrix. C = beta*C + alpha*A*B flags has NOTRANS C = beta*C + alpha*A*B.T flags has TRANS
matops/mmult.go:501
↓ 8 callersFunction_dmmat_scale
matops/calgo/dmmat_solve.c:18
↓ 8 callersFunctionapplyPivots
(A *matrix.FloatMatrix, p *pPivots)
matops/pivot.go:52
↓ 8 callersFunctionapplyRowPivots
(A *matrix.FloatMatrix, p *pPivots, offset, dir int)
matops/pivot.go:60
↓ 8 callersFunctionbenchmarkMod
(b *testing.B, w, exp uint32)
mathutil/mersenne/all_test.go:636
↓ 8 callersFunctionbenchmarkModBig
(b *testing.B, w, exp uint32)
mathutil/mersenne/all_test.go:648
↓ 8 callersFunctionbenchmarkModPow2
(b *testing.B, e, m uint32)
mathutil/mersenne/all_test.go:771
↓ 8 callersFunctionbenchmarkNew
(b *testing.B, max uint32)
mathutil/mersenne/all_test.go:86
↓ 8 callersFunctioncolcpy4_trans
Copying 4 columns parallel distributes cache misses even more evenly.
matops/calgo/colcpy.h:130
↓ 8 callersFunctiondbg
(format string, args ...interface{})
geom/qtree/qtree.go:15
↓ 8 callersMethoddivideSegment
(e *endpoint, p Point)
polyclip-go/clipper.go:484
↓ 8 callersFunctiondmmat_solve_unb
solve: op(A)*X = alpha*B or X*op(A) = alpha*B; unblocked version
matops/calgo/dmmat_solve.c:400
↓ 8 callersFunctiondmmat_trid_unb
X = A*X; unblocked version
matops/calgo/dmmat_trid.c:369
↓ 8 callersFunctiondscale_vec
Scale a vector of N elements with incX interval.
matops/calgo/vec_scale.c:94
↓ 8 callersFunctionmerge2x1
* * Merge 1 by 1 block from 2 by 1 block. * * AT * Abkl <-- -- * AB * */
matops/partition.go:110
← previousnext →201–300 of 3,549, ranked by callers