MCPcopy Create free account

hub / github.com/andeya/algorithm / functions

Functions3,549 in github.com/andeya/algorithm

↓ 4 callersFunctionblockIndex4
(i, r, sz int)
matops/mmult.go:105
↓ 4 callersFunctioncdiv
(xr float64, xi float64, yr float64, yi float64)
go.matrix/dense_eigen.go:850
↓ 4 callersFunctioncheckConeQpDimensions
(dims *sets.DimensionSet)
cvx/coneqp.go:20
↓ 4 callersFunctionconf_ISOlanguages
this function returns a sorted list of supported langauge abbreviations you should use this slice when to iterate over the full list of languages, esp
schoolcalc/webzapfen/config.go:72
↓ 4 callersFunctioncreateorreturnconfig
(conf *config)
cartconvert/cartconvserv/config.go:29
↓ 4 callersFunctiondEq
(a, b, p float64)
blas/d_test.go:210
↓ 4 callersMethoderrorf
error returns an error token and terminates the scan by passing back a nil pointer that will be the next state, terminating l.nextItem.
go-symexpr/lexer.go:227
↓ 4 callersFunctionf64toa
(val float64, prec int)
cartconvert/cartconvert/cartconvert.go:75
↓ 4 callersFunctionfCheck
(t *testing.T, inc, N int, r, e float32)
blas/s_test.go:17
↓ 4 callersFunctionfEq
(a, b, p float32)
blas/s_test.go:195
↓ 4 callersFunctionfindMax
findMax finds the maximum of a set of scores; if the maximum is strict -- that is, it is the single unique maximum from the set -- then strict has ret
bayesian/bayesian.go:461
↓ 4 callersFunctionfsqrt
(f float32)
blas/s_test.go:13
↓ 4 callersFunctiongFlops
(M, N int, secs float64)
matops/test/perf_qr.go:280
↓ 4 callersFunctiongFlops
(N int, secs float64)
matops/test/perf_ldlbk.go:268
↓ 4 callersFunctiongFlops
(N int, secs float64)
matops/test/perf_chol.go:271
↓ 4 callersFunctiongFlops
(N int, secs float64)
matops/test/perf_ldl.go:281
↓ 4 callersFunctiongFlops
(M, N int, secs float64)
matops/test/perf_lu.go:266
↓ 4 callersMethodgetPriors
getPriors returns the prior probabilities for the classes provided -- P(C_j). TODO: There is a way to smooth priors, currently not implemented here.
bayesian/bayesian.go:194
↓ 4 callersFunctionlatlongequal
(pcp1, pcp2 *PolarCoord)
cartconvert/cartconvert/cartconvert_test.go:80
↓ 4 callersFunctionmax
(l, r int)
go-symexpr/stats.go:149
↓ 4 callersFunctionmerge1x2
* * Merge 1 by 1 block from 1 by 2 block. * * ABLK <-- AL | AR * */
matops/partition.go:120
↓ 4 callersFunctionpack
* Copy x to y using packed storage. The vector x is an element of S, with the 's' components stored in unpacked storage. On return, x is co
cvx/misc.go:1291
↓ 4 callersFunctionr32
()
mathutil/mersenne/all_test.go:18
↓ 4 callersFunctionradtodeg
(rad float64)
cartconvert/cartconvert/cartconvert.go:172
↓ 4 callersFunctionround
a general purpose round
cartconvert/cartconvert/cartconvert.go:881
↓ 4 callersMethodsetSex
()
chinaid/china_id.go:214
↓ 4 callersFunctionsgemv
* Matrix-vector multiplication. A is a matrix or spmatrix of size (m, n) where N = dims['l'] + sum(dims['q']) + sum( k**2 for k in dims
cvx/misc.go:980
↓ 4 callersFunctionsignedArea
(p0, p1, p2 Point)
polyclip-go/endpoint.go:65
↓ 4 callersFunctionsyrk2Test
(t *testing.T, C, A, B *matrix.FloatMatrix, flags Flags, vlen, nb int)
matops/calgo/trank_test.go:226
↓ 4 callersFunctionsyrkTest
(t *testing.T, C, A *matrix.FloatMatrix, flags Flags, vlen, nb int)
matops/calgo/trank_test.go:138
↓ 4 callersFunctionwvariance
(w, data Interface, wmean float64)
stat/wvariance.go:27
↓ 3 callersFunctionADegMMSSToNum
The function accepts a string representing a bearing in degree, minute and second. Minute and second are booth optional and the second may contain fra
cartconvert/cartconvert/cartconvert.go:196
↓ 3 callersFunctionASum
sum(|x|)
matops/mvec.go:375
↓ 3 callersMethodAdd
Add is a convenience method for appending a point to a contour.
polyclip-go/geom.go:77
↓ 3 callersFunctionAngle
Angle Θ (theta) between two vectors.
vector/vector.go:199
↓ 3 callersFunctionAppendGenomes
(slice, data GAGenomes)
ga/genome.go:40
↓ 3 callersFunctionAsum
Returns ||Re x||_1 + ||Im x||_1. ARGUMENTS X float or complex matrix OPTIONS n integer. If n<0, the default value of n is used. The def
linalg/blas/level1.go:64
↓ 3 callersMethodAugment
* Creates a new matrix [A B]. */
go.matrix/sparse.go:157
↓ 3 callersMethodBest
()
ga/ga.go:89
↓ 3 callersFunctionBigComma
BigComma produces a string form of the given big.Int in base 10 with commas after every three orders of magnitude.
go-humanize/comma.go:74
↓ 3 callersFunctionBitLenByte
BitLenByte returns the bit width of the non zero part of n.
mathutil/bits.go:12
↓ 3 callersFunctionBitLenUint
BitLenUint returns the bit width of the non zero part of n.
mathutil/bits.go:64
↓ 3 callersFunctionBitLenUint16
BitLenUint16 returns the bit width of the non zero part of n.
mathutil/bits.go:17
↓ 3 callersFunctionBitLenUint32
BitLenUint32 returns the bit width of the non zero part of n.
mathutil/bits.go:26
↓ 3 callersMethodClone
()
go-symexpr/types.go:96
↓ 3 callersMethodCopy
Create a copy of matrix.
matrix/dense.go:567
↓ 3 callersFunctionCovarianceMatrix
Return the covariance matrix for this set of points (sample covariance is used) points.Rows() = dimensions. points.Cols() = number of points.
go.mahalanobis/mahalanobis.go:87
↓ 3 callersMethodCycle
Cycle reports the length of the inner FCPRNG cycle. Cycle is atmost the double (HQ: triple) of the generator period (hi - lo + 1).
mathutil/rnd.go:93
↓ 3 callersMethodCycle
Cycle reports the length of the inner FCPRNG cycle. Cycle is atmost the double (HQ: triple) of the generator period (hi - lo + 1).
mathutil/rnd.go:280
↓ 3 callersFunctionDIAMax
return: index of max absolute value
matops/calgo/cmops.go:612
↓ 3 callersFunctionDRankMV
blas GER; blocked version 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
matops/calgo/cmops.go:327
↓ 3 callersFunctionDdot
Scalar product: X^T Y
blas/ddot.go:4
↓ 3 callersMethodDescription
* Description returns a textual description of the dice roll. It uses the same format expected by Roll() */
dice/dice.go:45
↓ 3 callersMethodDf
(u, v MatrixVariable, alpha, beta float64, trans la.Option)
cvx/interfaces.go:144
↓ 3 callersMethodDiagOf
Make A diagonal of matrix B as submatrix vector.
matrix/dense.go:353
↓ 3 callersFunctionDifference
* Finds the difference between two matrices. */
go.matrix/arithmetic.go:30
↓ 3 callersFunctionDot
Returns Y = X^H*Y for real or complex X, Y. ARGUMENTS X float or complex matrix Y float or complex matrix. Must have the same type a
linalg/blas/level1.go:150
↓ 3 callersMethodEigen
* Returns V,D st V*D*inv(V) = A and D is diagonal (or block diagonal). */
go.matrix/dense_eigen.go:12
↓ 3 callersFunctionEqual
============================== [ Functions ] =============================== Compare two vectors. Returns true if all values are the same.
vector/vector.go:157
↓ 3 callersFunctionFloatDiagonal
Make a square matrix with diagonal set to values. If len(values) is one then all entries on diagonal is set to values[0]. If len(values) is greater th
matrix/dense.go:266
↓ 3 callersFunctionFloatVector
Create a column major vector from an array of elements. Shorthand for call FloatNew(len(elems), 1, elems).
matrix/dense.go:76
↓ 3 callersFunctionFormatFloat
FormatFloat produces a formatted number as string based on the following user-specified criteria: * thousands separator * decimal separator * decimal
go-humanize/number.go:65
↓ 3 callersFunctionGCDUint16
GCDUint16 returns the greatest common divisor of a and b.
mathutil/mathutil.go:85
↓ 3 callersFunctionGCDUint32
GCD returns the greatest common divisor of a and b.
mathutil/mathutil.go:93
↓ 3 callersFunctionGCDUint64
GCD64 returns the greatest common divisor of a and b.
mathutil/mathutil.go:101
↓ 3 callersMethodGetIndexes
Get elements from column-major indexes. Return new array.
matrix/dense.go:420
↓ 3 callersMethodGetRow
Get copy of i'th row. Return parameter matrix. If vec is too small reallocate new vector and return it. **DEPRECEATED**
matrix/cdense.go:309
↓ 3 callersMethodGetSubMatrix
Get sub-matrix starting at (row, col). Sizes parameters define (nrows, ncols) number of rows and number of columns. If len(sizes) is zero size is then
matrix/dense_depreceated.go:221
↓ 3 callersMethodInit
(popsize int, i GAGenome)
ga/ga.go:51
↓ 3 callersMethodIntersectParameters
(t *Segment)
geom/segment.go:11
↓ 3 callersMethodInverseTransform
Method to perform the inverse helmert transformation on a generic 3D datum and return a new datum. The inverse might be easily computed by inverting a
cartconvert/cartconvert/cartconvert.go:1043
↓ 3 callersMethodIsBig
(bounds geom.Rect)
geom/qtree/qtree.go:73
↓ 3 callersMethodKeys
()
cvx/sets/sets.go:83
↓ 3 callersFunctionLog2Byte
Log2Byte returns log base 2 of n. It's the same as index of the highest bit set in n. For n == 0 -1 is returned.
mathutil/mathutil.go:173
↓ 3 callersFunctionLog2Uint16
Log2Uint16 returns log base 2 of n. It's the same as index of the highest bit set in n. For n == 0 -1 is returned.
mathutil/mathutil.go:179
↓ 3 callersFunctionLog2Uint32
Log2Uint32 returns log base 2 of n. It's the same as index of the highest bit set in n. For n == 0 -1 is returned.
mathutil/mathutil.go:189
↓ 3 callersFunctionLog2Uint64
Log2Uint64 returns log base 2 of n. It's the same as index of the highest bit set in n. For n == 0 -1 is returned.
mathutil/mathutil.go:207
↓ 3 callersFunctionModPowUint64
ModPowUint64 computes (b^e)%m. It panics for m == 0 || b == e == 0.
mathutil/mathutil.go:299
↓ 3 callersMethodMutate
Runs mutate operation on a GAGenome
ga/mutator.go:13
↓ 3 callersFunctionNewBMNCoord
(Meridian BMNMeridian, Right, Height, RelHeight float64)
cartconvert/cartconvert/bmn/bmn.go:230
↓ 3 callersFunctionNewHelmertTransformer
Create a new instance of helmert parameters. dx, dy, dz: delta of coordinate origin in meters drx, dry, drz: delta of coordinate bearing in rads d
cartconvert/cartconvert/cartconvert.go:1078
↓ 3 callersFunctionNormalize
Normalize a vector, returning a new Vector.
vector/vector.go:186
↓ 3 callersFunctionNrm2
Returns the Euclidean norm of a vector (returns ||x||_2). ARGUMENTS X float or complex matrix OPTIONS n integer. If n<0, the defaul
linalg/blas/level1.go:29
↓ 3 callersFunctionPVariance
* pvariance.go * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Jim Davies, Brian Gough * Copyright (C) 2012, 2013 G.vd.Schoot * * This pro
stat/pvariance.go:24
↓ 3 callersFunctionParseSI
ParseSI parses an SI string back into the number and unit. See also: SI, ComputeSI. e.g. ParseSI(2.2345pF) -> (2.2345e-12, "F", nil)
go-humanize/si.go:100
↓ 3 callersFunctionPopCountBigInt
PopCountBigInt returns population count of |n| (number of bits set in |n|).
mathutil/bits.go:202
↓ 3 callersFunctionPopCountUintptr
PopCountUintptr returns population count of n (number of bits set in n).
mathutil/bits.go:185
↓ 3 callersFunctionPowerizeUint32BigInt
PowerizeUint32BigInt 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 return
mathutil/mathutil.go:458
↓ 3 callersMethodPrev
Prev return the first PRN before Pos.
mathutil/rnd.go:108
↓ 3 callersMethodPrev
Prev return the first PRN before Pos.
mathutil/rnd.go:295
↓ 3 callersMethodQuadMM
(q Coord)
geom/coord.go:114
↓ 3 callersMethodRandomize
Randomize.Genens
ga/genome.go:14
↓ 3 callersMethodRemove
(element Item)
geom/qtree/qtree.go:284
↓ 3 callersMethodReset
()
ga/genome_fixed_bitstring.go:89
↓ 3 callersMethodReset
()
ga/genome_ordered_int.go:145
↓ 3 callersMethodReset
()
ga/genome_float64.go:93
↓ 3 callersFunctionRollP
* RollP() generates a new DiceRoll based on the specified parameters. */
dice/dice.go:94
↓ 3 callersFunctionScal
Scales a vector by a constant (X := alpha*X). ARGUMENTS X float or complex matrix alpha number (float or complex singleton matrix). Comp
linalg/blas/level1.go:289
↓ 3 callersFunctionSdMean
(data Interface, mean float64)
stat/variance.go:54
↓ 3 callersFunctionSdot
Scalar product: X^T Y
blas/sdot.go:4
← previousnext →501–600 of 3,549, ranked by callers