MCPcopy Create free account

hub / github.com/DistributedML/Biscotti / functions

Functions7,917 in github.com/DistributedML/Biscotti

↓ 4 callersMethodThreshold
Threshold returns the secret sharing threshold.
lib/dedis/kyber/share/poly.go:316
↓ 4 callersMethodUFromCholesky
UFromCholesky extracts the n×n upper triangular matrix U from a Cholesky decomposition A = U^T * U.
lib/gonum/matrix/mat64/cholesky.go:231
↓ 4 callersMethodUFromSVD
UFromSVD extracts the matrix U from the singular value decomposition, storing the result in-place into the receiver. U is size m×m if svd.Kind() == SV
lib/gonum/matrix/mat64/svd.go:143
↓ 4 callersMethodUnmarshalBinaryFrom
UnmarshalBinaryFrom decodes the binary form into the receiver and returns the number of bytes read and an error if any. It panics if the receiver is a
lib/gonum/matrix/mat64/io.go:160
↓ 4 callersMethodUnmarshalBinaryFrom
UnmarshalBinaryFrom decodes the binary form into the receiver, from the io.Reader and returns the number of bytes read and an error if any. It panics
lib/gonum/matrix/mat64/io.go:303
↓ 4 callersMethodValues
Values extracts the eigenvalues of the factorized matrix. If dst is non-nil, the values are stored in-place into dst. In this case dst must have lengt
lib/gonum/matrix/mat64/eigen.go:211
↓ 4 callersMethodVectors
Vectors returns the right eigenvectors of the decomposition. Vectors will panic if the right eigenvectors were not computed during the factorization,
lib/gonum/matrix/mat64/eigen.go:244
↓ 4 callersMethodVerify
Verify examines the validity of the NIZK dlog-equality proof. The proof is valid if the following two conditions hold: vG == rG + c(xG) vH == rH + c(x
lib/dedis/kyber/proof/dleq/dleq.go:123
↓ 4 callersFunctionabsEq
(a, b float64)
lib/gonum/stat/distuv/general_test.go:31
↓ 4 callersFunctionbenchmarkAdd
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1311
↓ 4 callersFunctionbenchmarkAddScaledTo
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1443
↓ 4 callersFunctionbenchmarkAddTo
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1324
↓ 4 callersFunctionbenchmarkCumProd
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1338
↓ 4 callersFunctionbenchmarkCumSum
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1351
↓ 4 callersFunctionbenchmarkDiv
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1364
↓ 4 callersFunctionbenchmarkDivTo
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1377
↓ 4 callersFunctionbenchmarkDot
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1430
↓ 4 callersFunctionbenchmarkInner
(b *testing.B, m, n int)
lib/gonum/matrix/mat64/inner_test.go:153
↓ 4 callersFunctionbenchmarkLogSumExp
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1418
↓ 4 callersFunctionbenchmarkMin
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1299
↓ 4 callersFunctionbenchmarkScale
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1457
↓ 4 callersFunctionbenchmarkSub
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1391
↓ 4 callersFunctionbenchmarkSubTo
(b *testing.B, size int)
lib/gonum/floats/floats_test.go:1404
↓ 4 callersFunctionblocks
blocks returns the number of divisons of the dimension length with the given block size.
lib/gonum/blas/native/native.go:70
↓ 4 callersFunctionchi
(r, v *mod.Int)
lib/dedis/kyber/group/curve25519/el1.go:13
↓ 4 callersFunctioncmplxEqual
(v1, v2 []complex128)
lib/gonum/matrix/mat64/eigen_test.go:83
↓ 4 callersFunctioncolumnNorms
columnNorms returns the column norms of a.
lib/gonum/lapack/testlapack/general.go:310
↓ 4 callersFunctioncontainsComplex
containsComplex returns whether z is approximately equal to one of the complex numbers in v. If z is found, its index in v will be also returned.
lib/gonum/lapack/testlapack/general.go:1049
↓ 4 callersMethodcoordSign
Test the sign of an x or y coordinate. We use the least-significant bit of the coordinate as the sign bit.
lib/dedis/kyber/group/curve25519/curve.go:191
↓ 4 callersFunctioncreateCommitment
(update []int64 , pkeyG1 []kyber.Point)
kyber-demo/kyber.go:526
↓ 4 callersFunctioncreateCommitment
(update []int64 , pkeyG1 []kyber.Point)
DistSys/test/kyber.go:504
↓ 4 callersFunctiondgemmcomp
(i int, name string, t *testing.T, blasser Dgemmer, tA, tB blas.Transpose, m, n, k int, alpha, beta float64,
lib/gonum/blas/testblas/dgemm.go:225
↓ 4 callersMethodembed
Pick a [pseudo-]random curve point with optional embedded data, filling in the point's x,y coordinates
lib/dedis/kyber/group/curve25519/curve.go:323
↓ 4 callersMethodencodePoint
Encode an Edwards curve point. We use little-endian encoding for consistency with Ed25519.
lib/dedis/kyber/group/curve25519/curve.go:202
↓ 4 callersFunctionequalApprox
equalApprox returns whether the matrices A and B of order n are approximately equal within given tolerance.
lib/gonum/lapack/testlapack/general.go:891
↓ 4 callersFunctioneye
eye returns a new identity matrix of size n×n.
lib/gonum/matrix/mat64/matrix_test.go:54
↓ 4 callersFunctionfeIsNonZero
(f *fieldElement)
lib/dedis/kyber/group/edwards25519/fe.go:254
↓ 4 callersFunctionfindPub
(list []kyber.Point, i uint32)
lib/dedis/kyber/share/dkg/rabin/dkg.go:689
↓ 4 callersFunctionfullExchange
(t *testing.T)
lib/dedis/kyber/share/dkg/pedersen/dkg_test.go:455
↓ 4 callersFunctionfullExchange
(t *testing.T)
lib/dedis/kyber/share/dkg/rabin/dkg_test.go:661
↓ 4 callersFunctiongenrand
genrand returns a general r×c matrix with random entries.
lib/gonum/lapack/internal/testdata/dlahr2test/main.go:81
↓ 4 callersFunctiongenrand
genrand returns a general r×c matrix with random entries.
lib/gonum/lapack/internal/testdata/dlaqr5test/main.go:114
↓ 4 callersFunctiongetAvgTotalTime
(parsed_files_directory)
usenix-eval/parseLogs.py:193
↓ 4 callersFunctiongetDSS
(i int)
lib/dedis/kyber/sign/dss/dss_test.go:138
↓ 4 callersFunctiongetLeaderAddress
Timer started by the verifier to set a deadline until which he will receive updates
DistSys/main.go:2027
↓ 4 callersFunctionhandleErrorFatal
Error handling
FedSys/main.go:170
↓ 4 callersFunctionisPrime
Probabilistically test whether a big integer is prime.
lib/dedis/kyber/group/nist/residue.go:32
↓ 4 callersMethodisZero
()
lib/gonum/matrix/mat64/vector.go:434
↓ 4 callersFunctionlineFunctionAdd
(r, p *twistPoint, q *curvePoint, r2 *gfP2)
lib/dedis/kyber/pairing/bn256/optate.go:3
↓ 4 callersFunctionmakeVectorInc
(inc int, f []float64)
lib/gonum/matrix/mat64/inner_test.go:131
↓ 4 callersFunctionmarshalBinaryBenchDense
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:557
↓ 4 callersFunctionmarshalBinaryBenchVector
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:655
↓ 4 callersFunctionmarshalBinaryToBenchDense
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:597
↓ 4 callersFunctionmarshalBinaryToBenchVector
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:695
↓ 4 callersFunctionmulLine
(ret *gfP12, a, b, c *gfP2)
lib/dedis/kyber/pairing/bn256/optate.go:94
↓ 4 callersFunctionnewGuardedVector
newGuardedVector allocates a new slice and returns it as three subslices. v is a strided vector that contains elements of data at indices i*inc and Na
lib/gonum/internal/asm/f64/asm_test.go:23
↓ 4 callersMethodnormalize
Normalize the point's representation to Z=1.
lib/dedis/kyber/group/curve25519/proj.go:119
↓ 4 callersMethodnormalize
Normalize the point's representation to Z=1.
lib/dedis/kyber/group/curve25519/ext.go:129
↓ 4 callersFunctionnormalize_rows
(X)
ML/code/utils.py:230
↓ 4 callersFunctionpoolBenchmark
(n, r, c int, clear bool)
lib/gonum/matrix/mat64/pool_test.go:47
↓ 4 callersMethodprecString
precedence-sensitive helper stringifier.
lib/dedis/kyber/proof/proof.go:75
↓ 4 callersFunctionpyInit
Initialize the python stuff using go-python
FedSys/honest.go:186
↓ 4 callersFunctionpyInit
Initialize the python stuff using go-python
DistSys/honest.go:204
↓ 4 callersMethodqualIter
(fn func(idx uint32, v *vss.Verifier) bool)
lib/dedis/kyber/share/dkg/rabin/dkg.go:388
↓ 4 callersFunctionrandn
randn generates a specified number of random samples
lib/gonum/stat/distuv/general_test.go:131
↓ 4 callersFunctionreturnModel
(D_in, D_out)
ML/Pytorch/ml_main_credit.py:9
↓ 4 callersFunctionrowMajor
rowMajor returns the given r×c column-major matrix a in row-major format.
lib/gonum/lapack/internal/testdata/dlahr2test/main.go:90
↓ 4 callersFunctionscMul
Hacky scMul cobbled together rather sub-optimally from scMulAdd. Input: a[0]+256*a[1]+...+256^31*a[31] = a b[0]+256*b[1]+...+256^31*b[31] = b Output
lib/dedis/kyber/group/edwards25519/scalar.go:1478
↓ 4 callersMethodset
(i, j int, v float64)
lib/gonum/matrix/mat64/index_bound_checks.go:133
↓ 4 callersMethodsetInt
(i *mod.Int)
lib/dedis/kyber/group/edwards25519/scalar.go:49
↓ 4 callersMethodshape
shape returns the dimensions of the result of the subexpression.
lib/gonum/matrix/mat64/product_test.go:180
↓ 4 callersFunctionstartBlockDeadlineTimer
(timerForIteration int)
DistSys/main.go:2326
↓ 4 callersFunctionstrictCopy
strictCopy copies a into m panicking if the shape of a and m differ.
lib/gonum/matrix/mat64/dense_arithmetic.go:445
↓ 4 callersMethodsuccFact
succFact returns whether the receiver contains a successful factorization.
lib/gonum/matrix/mat64/eigen.go:131
↓ 4 callersFunctiontestCoSi
(t *testing.T, n, f int)
lib/dedis/kyber/sign/cosi/cosi_test.go:37
↓ 4 callersFunctiontestDormhr
(t *testing.T, impl Dormhrer, side blas.Side, trans blas.Transpose, m, n, ilo, ihi, extra int, optwork bool, r
lib/gonum/lapack/testlapack/dormhr.go:57
↓ 4 callersFunctiontestDpotf2
(t *testing.T, impl Dpotf2er, testPos bool, a, ans [][]float64, stride int, ul blas.Uplo)
lib/gonum/lapack/testlapack/dpotf2.go:61
↓ 4 callersFunctiontestHiding
Test point hiding functionality
lib/dedis/kyber/group/curve25519/curve_test.go:121
↓ 4 callersFunctiontestMatchParallelSerial
(t *testing.T, i int, tA, tB blas.Transpose, m, n, k int, alpha float64)
lib/gonum/blas/native/pardgemm_test.go:127
↓ 4 callersFunctionthenc
Simple helper to compute G^{ab-cd} for Theta vector computation.
lib/dedis/kyber/shuffle/simple.go:53
↓ 4 callersFunctionthver
Simple helper to verify Theta elements, by checking whether A^a*B^-b = T. P,Q,s are simply "scratch" kyber.Point/Scalars reused for efficiency.
lib/dedis/kyber/shuffle/simple.go:180
↓ 4 callersFunctiontranspose
assumes [][]float64 is actually a matrix
lib/gonum/blas/testblas/dgemm.go:197
↓ 4 callersMethodtriKind
()
lib/gonum/matrix/mat64/triangular.go:142
↓ 4 callersFunctionunmarshalBinaryBenchDense
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:575
↓ 4 callersFunctionunmarshalBinaryBenchVector
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:673
↓ 4 callersFunctionunmarshalBinaryFromBenchDense
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:631
↓ 4 callersFunctionunmarshalBinaryFromBenchVector
(b *testing.B, size int)
lib/gonum/matrix/mat64/io_test.go:714
↓ 4 callersMethodupdateCond
updateCond updates the condition number of the Cholesky decomposition. If norm > 0, then that norm is used as the norm of the original matrix A, other
lib/gonum/matrix/mat64/cholesky.go:39
↓ 4 callersFunctionupdateFloatToInt
(update []float64, precision int)
kyber-demo/kyber.go:691
↓ 4 callersMethodupdateGrad
(self, gradient)
ML/Pytorch/client.py:69
↓ 4 callersFunctionuseZeroed
useZeroed returns a float64 slice with l elements, using f if it has the necessary capacity, otherwise creating a new slice. The elements of the retur
lib/gonum/matrix/mat64/matrix.go:871
↓ 4 callersMethodvalidPoint
Sanity-check a point to ensure that it is on the curve and within the appropriate subgroup.
lib/dedis/kyber/group/curve25519/curve.go:295
↓ 4 callersMethodvalue
(key uint64, val reflect.Value, prefix TagPrefix)
lib/dedis/protobuf/encode.go:96
↓ 4 callersMethodvalue
Pull a value from the buffer and put it into a reflective Value.
lib/dedis/protobuf/decode.go:127
↓ 3 callersFunctionAddScaled
AddScaled performs dst = dst + alpha * s. It panics if the lengths of dst and s are not equal.
lib/gonum/floats/floats.go:52
↓ 3 callersMethodAddVec
AddVec adds the vectors a and b, placing the result in the receiver.
lib/gonum/matrix/mat64/vector.go:209
↓ 3 callersFunctionBhattacharyya
Bhattacharyya computes the distance between the probability distributions p and q given by: -\ln ( \sum_i \sqrt{p_i q_i} ) The lengths of p and q mus
lib/gonum/stat/stat.go:42
↓ 3 callersMethodCDF
CDF computes the value of the cumulative density function at x.
lib/gonum/stat/distuv/categorical.go:52
↓ 3 callersMethodCDF
(x float64)
lib/gonum/stat/distuv/distribution_test.go:234
↓ 3 callersMethodCertified
Certified returns true if at least t deals are certified (see vss.Verifier.DealCertified()). If the distribution is certified, the protocol can contin
lib/dedis/kyber/share/dkg/pedersen/dkg.go:279
← previousnext →801–900 of 7,917, ranked by callers