MCPcopy Create free account

hub / github.com/andeya/algorithm / functions

Functions3,549 in github.com/andeya/algorithm

↓ 2 callersFunctionFloatOnes
Create new matrix initialized to one. *DEPRECEATED*
matrix/dense.go:242
↓ 2 callersFunctionFromFactorBigInt
* FromFactorBigInt returns n such that d | Mn if n <= max and d is odd. In other cases zero is returned. It is conjectured that every odd d ∊ N divid
mathutil/mersenne/mersenne.go:157
↓ 2 callersFunctionGemv
* General matrix-vector product. (L2) Computes: Y := alpha*A*X + beta*Y, if trans is NoTrans Y := alpha*A^T*X + beta*Y, if trans is Trans
linalg/blas/level2.go:47
↓ 2 callersMethodGet
(i int)
stat/types.go:104
↓ 2 callersMethodGetColumnArray
Get copy of i'th column. **DEPRECEATED**
matrix/cdense.go:296
↓ 2 callersMethodGetMatrix
* Get a matrix representing a subportion of A. Changes to the new matrix will be reflected in A. */
go.matrix/sparse.go:122
↓ 2 callersFunctionHasFactorUint32
HasFactorUint32 returns true if d | Mn. Typical run time for a 32 bit factor and a 32 bit exponent is < 1 µs.
mathutil/mersenne/mersenne.go:117
↓ 2 callersFunctionHasFactorUint64
HasFactorUint64 returns true if d | Mn. Typical run time for a 64 bit factor and a 32 bit exponent is < 30 µs.
mathutil/mersenne/mersenne.go:123
↓ 2 callersFunctionIdamax
Index of largest (absoulute) element of the vector X
blas/idamax.go:4
↓ 2 callersMethodInsert
(element Item)
geom/qtree/qtree.go:225
↓ 2 callersMethodInt63
()
mt19937_64/mt19937_64.go:55
↓ 2 callersFunctionInverseTransverseMercator
Inverse transverse mercator projection: Projection of an cylinder onto the surface of of an ellipsoid. Also known as reverse Gauss-Krüger projection.
cartconvert/cartconvert/cartconvert.go:549
↓ 2 callersFunctionIsamax
Index of largest (absoulute) element of the vector X
blas/isamax.go:4
↓ 2 callersFunctionKurtosis
* kurtosis.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This prog
stat/kurtosis.go:23
↓ 2 callersMethodLU
* return L,U,P, st PLU=A. */
go.matrix/dense_decomp.go:50
↓ 2 callersFunctionLatLongToString
(pc *PolarCoord, format LatLongFormat)
cartconvert/cartconvert/cartconvert.go:88
↓ 2 callersMethodLog10
Compute in-place Log10(A)
matrix/cdense_math.go:306
↓ 2 callersFunctionMVMultTrm
Tridiagonal multiplication; X = A*X
matops/mvec.go:222
↓ 2 callersFunctionMVRankUpdateSym
Matrix-vector symmetric rank update A = A + alpha*X*X.T A is N*N symmetric, X is row or column vector of length N.
matops/mvec.go:99
↓ 2 callersMethodMagnitudeSquared
()
geom/coord.go:79
↓ 2 callersFunctionMedianFromSortedData
* median.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This progra
stat/median.go:25
↓ 2 callersMethodMinus
(q Coord)
geom/coord.go:84
↓ 2 callersMethodMod
(y Fixed)
fixed/fixed.go:74
↓ 2 callersFunctionModPowByte
ModPowByte computes (b^e)%m. It panics for m == 0 || b == e == 0. See also: http://en.wikipedia.org/wiki/Modular_exponentiation#Right-to-left_binary_
mathutil/mathutil.go:242
↓ 2 callersFunctionModPowUint16
ModPowByte computes (b^e)%m. It panics for m == 0 || b == e == 0.
mathutil/mathutil.go:261
↓ 2 callersFunctionMulUint128_64
MulUint128_64 returns the uint128 bit product of uint64 a and b.
mathutil/mathutil.go:367
↓ 2 callersFunctionMult
Calculate C +=alpha*A*B where C is M*N, A is M*P, B is P*N and alpha is scalar. Arrays C, A, B are column major order matrix data arrays.
matrix/calgo/cmult.go:29
↓ 2 callersMethodMultiplyWithDuration
(t time.Duration)
units/velocity.go:35
↓ 2 callersFunctionNew
(cfg Config, bounds geom.Rect)
geom/qtree/qtree.go:63
↓ 2 callersFunctionNewPowE
(b, p Expr)
go-symexpr/types.go:275
↓ 2 callersFunctionNewRuleTable
NewRuleTable returns a new RuleTable instance
paicehusk/stemmer.go:44
↓ 2 callersFunctionNewStrider
(data Interface, stride int)
stat/types.go:70
↓ 2 callersFunctionNewSystem
(i int)
go-symexpr/types.go:77
↓ 2 callersFunctionNewTan
(e Expr)
go-symexpr/types.go:180
↓ 2 callersFunctionNewTime
()
go-symexpr/types.go:29
↓ 2 callersFunctionNextPrimeUint64
NextPrimeUint64 returns first prime > n and true if successful or an undefined value and false if there is no next prime in the uint64 limits. Typical
mathutil/primes.go:219
↓ 2 callersMethodNil
Returns true if the underlying object is nil.
go.matrix/matrix.go:24
↓ 2 callersFunctionNorm2
Norm2 of vector: sqrt(||x||^2)
matops/mvec.go:358
↓ 2 callersMethodOptimize
(gen int)
ga/ga_parallel.go:51
↓ 2 callersMethodOptimize
(gen int)
ga/ga.go:56
↓ 2 callersMethodOptimizeUntil
(stop func(best GAGenome) bool)
ga/ga.go:83
↓ 2 callersMethodOverlaps
Overlaps returns whether r1 and r2 have a non-empty intersection.
polyclip-go/geom.go:63
↓ 2 callersFunctionParse
Parse parse chinese identity card number to *ChinaID
chinaid/china_id.go:93
↓ 2 callersFunctionParseRule
ParseRule parses a rule in the form: |suffix|intact flag|number to strip|Append|Continue flag Eg, a rule: ht*2. Means if the stem is still intact, st
paicehusk/stemmer.go:82
↓ 2 callersMethodPf
(u, v *matrix.FloatMatrix, alpha, beta float64)
cvx/interfaces.go:62
↓ 2 callersMethodPlus
Compute element-wise sum A += B. Return A. If A and B sizes do not match A is returned unaltered.
matrix/dense_math.go:166
↓ 2 callersFunctionPopCount
PopCount returns population count of n (number of bits set in n).
mathutil/bits.go:167
↓ 2 callersFunctionPopCountByte
PopCountByte returns population count of n (number of bits set in n).
mathutil/bits.go:151
↓ 2 callersFunctionPopCountUint
PopCountUint returns population count of n (number of bits set in n).
mathutil/bits.go:176
↓ 2 callersFunctionPopCountUint16
PopCountUint16 returns population count of n (number of bits set in n).
mathutil/bits.go:156
↓ 2 callersMethodPrettyPrint
(dnames, snames []string, cvals []float64)
go-symexpr/print.go:15
↓ 2 callersMethodPrettyPrint
(dnames, snames []string, cvals []float64)
go-symexpr/print.go:34
↓ 2 callersMethodPrettyPrint
(dnames, snames []string, cvals []float64)
go-symexpr/print.go:74
↓ 2 callersMethodPrint
()
cvx/sets/sets.go:102
↓ 2 callersMethodQuadPP
(q Coord)
geom/coord.go:102
↓ 2 callersMethodRadians
()
units/angle.go:20
↓ 2 callersFunctionRankUpdateSym
Rank update for symmetric lower or upper matrix (blas.SYRK) C = beta*C + alpha*A*A.T + alpha*A.T*A
matops/mmult.go:426
↓ 2 callersFunctionRectsIntersect
(r1, r2 Rect)
geom/rect.go:95
↓ 2 callersFunctionRelTime
RelTime formats a time into a relative string. It takes two times and two labels. In addition to the generic time delta string (e.g. 5 minutes), the
go-humanize/times.go:59
↓ 2 callersFunctionRoll
* Roll() generates a new dice roll based on parameters obtained from parsing the passed string. The expected format is <NumDice>d<DieFaces>[Adder], w
dice/dice.go:117
↓ 2 callersMethodRowCopy
returns a copy of the row (not a slice)
go.matrix/dense_data.go:8
↓ 2 callersMethodRowPivotDense
* Equivalent to PxA, but streamlined to take advantage of the datastructures. */
go.matrix/pivot_arithmetic.go:65
↓ 2 callersMethodSVD
* Returns U, Σ, V st Σ is diagonal (or block diagonal) and UΣV'=Arg */
go.matrix/dense_svd.go:12
↓ 2 callersFunctionSasum
Absolute sum: \sum |X_i|
blas/sasum.go:4
↓ 2 callersMethodScale
(float64)
go.matrix/matrix.go:66
↓ 2 callersMethodScaleMatrix
* Scale this matrix by another, element-wise. */
go.matrix/sparse_arithmetic.go:203
↓ 2 callersMethodScaleMatrix
(B MatrixRO)
go.matrix/dense_arithmetic.go:300
↓ 2 callersMethodScaleMatrixDense
(B *DenseMatrix)
go.matrix/dense_arithmetic.go:318
↓ 2 callersFunctionScopy
Copy the elements of the vectors X and Y.
blas/scopy.go:4
↓ 2 callersFunctionSdWithFixedMean
(data Interface, mean float64)
stat/variance.go:44
↓ 2 callersFunctionSdsdot
\alpha + X^T Y computed using float64
blas/sdsdot.go:4
↓ 2 callersMethodSeed
Seed uses the provided seed value to initialize the generator to a deterministic state. A zero seed produces a "canonical" generator with worse random
mathutil/rnd.go:302
↓ 2 callersMethodSeek
Seek sets Pos to |pos| % Cycle.
mathutil/rnd.go:132
↓ 2 callersMethodSeek
Seek sets Pos to |pos| % Cycle.
mathutil/rnd.go:323
↓ 2 callersMethodSegment
(index int)
geom/poly.go:46
↓ 2 callersMethodServeHTTP
(w http.ResponseWriter, req *http.Request)
cartconvert/cartconvserv/cartconvserv.go:232
↓ 2 callersMethodServeHTTP
ServeHTTP installs a catch-all error recovery for the specific handler functions It may gzip-compress the output depending on webhandler.compress
schoolcalc/webzapfen/webzapfen.go:543
↓ 2 callersMethodSetRow
Set values of i'th row. Matrix vals is either (A.Cols(), 1) or (1, A.Cols()) matrix. **DEPRECEATED**
matrix/dense_depreceated.go:117
↓ 2 callersMethodSexText
SexText returns sex text, male or female
chinaid/china_id.go:197
↓ 2 callersMethodSimplify
(rules SimpRules)
go-symexpr/simp.go:46
↓ 2 callersMethodSimplify
(rules SimpRules)
go-symexpr/simp.go:107
↓ 2 callersFunctionSkew
* skew.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This program
stat/skew.go:23
↓ 2 callersFunctionSnrm2
Euclidean norm: ||X||_2 = \sqrt {\sum X_i^2}
blas/snrm2.go:6
↓ 2 callersFunctionSolveCHOL
* * Solves a system system of linear equations A*X = B with symmetric positive * definite matrix A using the Cholesky factorization A = U.T*U or A =
matops/chol.go:146
↓ 2 callersFunctionSolveLDLnoPiv
* * Solves a system system of linear equations A*X = B with symmetric positive * definite matrix A using the LDL factorization A = U.T*D*U or A = L*
matops/ldlnp.go:250
↓ 2 callersFunctionSolveQRT
* * Solve a system of linear equations A*X = B with general M-by-N * matrix A using the QR factorization computed by DecomposeQRT(). * * If flags&
matops/qrwym.go:777
↓ 2 callersMethodSplice
Splice two genomes;
ga/genome.go:26
↓ 2 callersFunctionSrot
Apply a Givens rotation (X', Y') = (c X + s Y, c Y - s X) to the vectors X, Y
blas/srot.go:4
↓ 2 callersFunctionSswap
Exchange the elements of the vectors X and Y.
blas/sswap.go:4
↓ 2 callersFunctionStemString
(s string)
porterstemmer/porterstemmer.go:833
↓ 2 callersFunctionStemWithoutLowerCasing
(s []rune)
porterstemmer/porterstemmer.go:875
↓ 2 callersMethodSubstract
Substract another Vector, in-place.
vector/vector.go:110
↓ 2 callersMethodSubtractSparse
* Subtract another matrix from this one in place, optimized for sparsity. */
go.matrix/sparse_arithmetic.go:104
↓ 2 callersMethodSwapRows
(r1 int, r2 int)
go.matrix/dense_basic.go:26
↓ 2 callersMethodSymmetric
()
go.matrix/pivot_basic.go:22
↓ 2 callersFunctionTTest
runs a t-test between two datasets representing independent samples. Tests to see if the difference between means of the samples is different from zer
stat/ttest.go:30
↓ 2 callersMethodTrace
The trace of this matrix.
go.matrix/matrix.go:46
↓ 2 callersMethodTranslate
(offset Coord)
geom/geom.go:12
↓ 2 callersFunctionTssMean
TssMean takes a dataset and finds the sum of squares about the mean
stat/variance.go:70
↓ 2 callersFunctionUintptrBits
UintptrBits returns the bit width of an uintptr at the executing machine.
mathutil/mathutil.go:353
← previousnext →701–800 of 3,549, ranked by callers