MCPcopy Create free account

hub / github.com/DistributedML/Biscotti / functions

Functions7,917 in github.com/DistributedML/Biscotti

↓ 986 callersFunctionisZero
(ret C.int)
lib/gonum/lapack/cgo/lapacke/lapacke.go:34
↓ 506 callersMethodNew
(t reflect.Type)
lib/dedis/fixbuf/encoding.go:28
↓ 486 callersMethodMul
Multiply point p by the scalar s. If p == nil, multiply with the standard base point Base().
lib/dedis/kyber/group.go:112
↓ 418 callersMethodPoint
Max length of point in bytes
lib/dedis/kyber/group.go:167
↓ 364 callersMethodEqual
Equality test for two Points derived from the same Group
lib/dedis/kyber/group.go:70
↓ 288 callersFunctionrandomSlice
(l, idx int)
lib/gonum/blas/cgo/level1doubleBench_auto_test.go:27
↓ 288 callersFunctionrandomSlice
(l, idx int)
lib/gonum/blas/native/level1doubleBench_auto_test.go:27
↓ 275 callersMethodScalar
Max length of scalars in bytes
lib/dedis/kyber/group.go:164
↓ 245 callersFunctionmax
(a, b int)
lib/gonum/lapack/native/general.go:109
↓ 238 callersMethodError
()
lib/gonum/matrix/errors.go:114
↓ 224 callersFunctionNewDense
NewDense creates a new Dense matrix with r rows and c columns. If data == nil, a new slice is allocated for the backing slice. If len(data) == r*c, da
lib/gonum/matrix/mat64/dense.go:46
↓ 223 callersMethodAdd
Add points so that their scalars add homomorphically
lib/dedis/kyber/group.go:102
↓ 167 callersMethodPick
Pick sets the receiver to a fresh random or pseudo-random Point.
lib/dedis/kyber/group.go:79
↓ 159 callersMethodDims
Dims returns the dimensions of a Matrix.
lib/gonum/matrix/mat64/matrix.go:21
↓ 159 callersMethodWrite
Encode and write objects to an io.Writer.
lib/dedis/kyber/encoding.go:94
↓ 155 callersMethodSqrt
Sqrt computes some square root of a mod M of one exists. Assumes the modulus M is an odd prime. Returns true on success, false if input a is not a squ
lib/dedis/kyber/group/mod/int.go:290
↓ 155 callersFunctionmin
(a, b int)
lib/gonum/lapack/native/general.go:102
↓ 148 callersFunctionRandomSlice
tests for unweighted versions
lib/gonum/stat/moments_bench_test.go:28
↓ 147 callersFunctioncheckMatrix
checkMatrix verifies the parameters of a matrix input.
lib/gonum/lapack/native/general.go:78
↓ 145 callersMethodSub
Subtract points so that their scalars subtract homomorphically
lib/dedis/kyber/group.go:105
↓ 123 callersMethodAt
At returns the value of a matrix element at row i, column j. It will panic if i or j are out of bounds for the matrix.
lib/gonum/matrix/mat64/matrix.go:25
↓ 120 callersMethodSet
Set sets the receiver equal to another Point p.
lib/dedis/kyber/group.go:82
↓ 114 callersMethodMatrix
()
lib/gonum/lapack/testlapack/test_matrices.go:21
↓ 113 callersFunctionmax
(a, b int)
lib/gonum/blas/cgo/blas.go:37
↓ 112 callersFunctionfeMul
feMul calculates h = f * g Can overlap h with f or g. Preconditions: |f| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. |g| bounded by 1.1*2^26,
lib/dedis/kyber/group/edwards25519/fe.go:307
↓ 109 callersFunctionload3
(in []byte)
lib/dedis/kyber/group/edwards25519/fe.go:64
↓ 105 callersFunctionload4
(in []byte)
lib/dedis/kyber/group/edwards25519/fe.go:71
↓ 104 callersFunctionfeSquare
feSquare calculates h = f*f. Can overlap h with f. Preconditions: |f| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. Postconditions: |h| bounde
lib/dedis/kyber/group/edwards25519/fe.go:547
↓ 101 callersMethodString
Produce a human-readable string representation of the predicate.
lib/dedis/kyber/proof/proof.go:72
↓ 98 callersMethodEigenvalues
()
lib/gonum/lapack/testlapack/test_matrices.go:34
↓ 97 callersMethodG1
()
lib/dedis/kyber/pairing/pairing.go:9
↓ 92 callersMethodDscal
(n int, alpha float64, x []float64, incX int)
lib/gonum/blas/blas.go:247
↓ 84 callersFunctioncheckMatrix
checkMatrix verifies the parameters of a matrix input. Copied from lapack/native. Keep in sync.
lib/gonum/lapack/cgo/lapack.go:91
↓ 81 callersFunctionNewVector
NewVector creates a new Vector of length n. If data == nil, a new slice is allocated for the backing slice. If len(data) == n, data is used as the bac
lib/gonum/matrix/mat64/vector.go:35
↓ 81 callersMethodRandomStream
RandomStream returns a cipher.Stream that produces a cryptographically random key stream. The stream must tolerate being used in multiple goroutines.
lib/dedis/kyber/random.go:12
↓ 79 callersMethodMul
Mul takes the matrix product of a and b, placing the result in the receiver. If the number of columns in a does not equal the number of rows in b, Mul
lib/gonum/matrix/mat64/dense_arithmetic.go:260
↓ 78 callersMethodExp
Exp calculates the exponential of the matrix a, e^a, placing the result in the receiver. Exp will panic with matrix.ErrShape if a is not square. Exp
lib/gonum/matrix/mat64/dense_arithmetic.go:459
↓ 75 callersFunctionmin
(a, b int)
lib/gonum/lapack/testlapack/general.go:36
↓ 71 callersMethodMul
Mul sets the target to a * b mod M. Target receives a's modulus.
lib/dedis/kyber/group/mod/int.go:239
↓ 71 callersMethodString
()
lib/dedis/kyber/group.go:161
↓ 68 callersMethodDgemv
(tA Transpose, m, n int, alpha float64, a []float64, lda int, x []float64, incX int, beta float64, y []float64
lib/gonum/blas/blas.go:252
↓ 68 callersMethodIlaenv
Ilaenv returns algorithm tuning parameters for the algorithm given by the input string. ispec specifies the parameter to return: 1: The optimal block
lib/gonum/lapack/native/ilaenv.go:25
↓ 67 callersMethodDlacpy
Dlacpy copies the elements of A specified by uplo into B. Uplo can specify a triangular portion with blas.Upper or blas.Lower, or can specify all of t
lib/gonum/lapack/native/dlacpy.go:14
↓ 67 callersMethodKind
Kind returns the matrix.SVDKind of the decomposition. If no decomposition has been computed, Kind returns 0.
lib/gonum/matrix/mat64/svd.go:106
↓ 66 callersFunctionmax
(a, b int)
lib/gonum/blas/native/native.go:54
↓ 63 callersMethodPow
Pow calculates the integral power of the matrix a to n, placing the result in the receiver. Pow will panic if n is negative or if a is not square.
lib/gonum/matrix/mat64/dense_arithmetic.go:522
↓ 63 callersFunctionpanics
(fn func())
lib/gonum/matrix/mat64/matrix_test.go:19
↓ 59 callersMethodDgemm
(tA, tB Transpose, m, n, k int, alpha float64, a []float64, lda int, b []float64, ldb int, beta float64, c []f
lib/gonum/blas/blas.go:272
↓ 59 callersMethodSetInt64
Set sets the receiver to a small integer value
lib/dedis/kyber/group.go:25
↓ 58 callersFunctionbenchaxpyinc
(t *testing.B, ln, t_inc int, f func(alpha float64, x, y []float64, n, incX, incY, ix, iy uintptr))
lib/gonum/internal/asm/f64/bench_test.go:104
↓ 58 callersFunctionbenchaxpyinc
(t *testing.B, ln, t_inc int, f func(alpha float32, x, y []float32, n, incX, incY, ix, iy uintptr))
lib/gonum/internal/asm/f32/bench_test.go:97
↓ 58 callersFunctionbenchaxpyinc
(t *testing.B, ln, t_inc int, f func(alpha complex64, x, y []complex64, n, incX, incY, ix, iy uintptr))
lib/gonum/internal/asm/c64/bench_test.go:97
↓ 58 callersFunctionbenchaxpyinc
(t *testing.B, ln, t_inc int, f func(alpha complex128, x, y []complex128, n, incX, incY, ix, iy uintptr))
lib/gonum/internal/asm/c128/bench_test.go:97
↓ 58 callersFunctionbenchaxpyincto
(t *testing.B, ln, t_inc int, f func(dst []float64, incDst, idst uintptr, alpha float64, x, y []float64, n, in
lib/gonum/internal/asm/f64/bench_test.go:198
↓ 58 callersFunctionbenchaxpyincto
(t *testing.B, ln, t_inc int, f func(dst []float32, incDst, idst uintptr, alpha float32, x, y []float32, n, in
lib/gonum/internal/asm/f32/bench_test.go:190
↓ 58 callersFunctionbenchaxpyincto
(t *testing.B, ln, t_inc int, f func(dst []complex64, incDst, idst uintptr, alpha complex64, x, y []complex64,
lib/gonum/internal/asm/c64/bench_test.go:190
↓ 58 callersFunctionbenchaxpyincto
(t *testing.B, ln, t_inc int, f func(dst []complex128, incDst, idst uintptr, alpha complex128, x, y []complex1
lib/gonum/internal/asm/c128/bench_test.go:190
↓ 57 callersMethodSlice
Slice returns a new Matrix that shares backing data with the receiver. The returned matrix starts at {i,j} of the recevier and extends k-i rows and l-
lib/gonum/matrix/mat64/dense.go:294
↓ 56 callersFunctionnanSlice
nanSlice allocates a new slice of length n filled with NaN.
lib/gonum/lapack/testlapack/general.go:53
↓ 54 callersMethodRead
Read and decode objects from an io.Reader.
lib/dedis/kyber/encoding.go:97
↓ 53 callersFunctionFormatted
Formatted returns a fmt.Formatter for the matrix m using the given options.
lib/gonum/matrix/mat64/format.go:13
↓ 52 callersFunctionNewSymDense
NewSymDense creates a new Symmetric matrix with n rows and columns. If data == nil, a new slice is allocated for the backing slice. If len(data) == n*
lib/gonum/matrix/mat64/symmetric.go:62
↓ 51 callersFunctionEqual
Equal returns whether the matrices a and b have the same size and are element-wise equal.
lib/gonum/matrix/mat64/matrix.go:360
↓ 50 callersFunctionbenchL1NormInc
(t *testing.B, ln, inc int, f func(x []float64, n, incX int) float64)
lib/gonum/internal/asm/f64/bench_other_test.go:50
↓ 50 callersMethoduvarint
(v uint64)
lib/dedis/protobuf/encode.go:480
↓ 48 callersMethodElem
Elem returns the pointer type of a pointer parameter or the element type of an array parameter.
lib/gonum/internal/binding/binding.go:312
↓ 48 callersFunctionflatten
(f [][]float64)
lib/gonum/matrix/mat64/matrix_test.go:29
↓ 48 callersFunctionmax
(a, b int)
lib/gonum/lapack/testlapack/general.go:29
↓ 47 callersMethodXOF
XOF creates a new XOF, feeding seed to it via it's Write method. If seed is nil or []byte{}, the XOF is left unseeded, it will produce a fixed, predic
lib/dedis/kyber/xof.go:49
↓ 47 callersFunctiongfpMul
go:noescape
lib/dedis/kyber/pairing/bn256/gfp.go:79
↓ 45 callersMethodInit
Initialize the curve with given parameters.
lib/dedis/kyber/group/curve25519/basic.go:222
↓ 45 callersFunctiongeneralOutsideAllNaN
generalOutsideAllNaN returns whether all out-of-range elements have NaN values.
lib/gonum/lapack/testlapack/general.go:231
↓ 44 callersMethodNeg
Set to the negation of point a
lib/dedis/kyber/group.go:108
↓ 44 callersMethodType
Type returns the C type of the parameter.
lib/gonum/internal/binding/binding.go:305
↓ 44 callersMethodreshape
(self, flat_gradient)
ML/Pytorch/svm_model.py:21
↓ 42 callersMethodNull
Null sets the receiver to the neutral identity element.
lib/dedis/kyber/group.go:73
↓ 42 callersFunctionzeros
zeros returns an m×n matrix with given stride filled with zeros.
lib/gonum/lapack/testlapack/general.go:958
↓ 41 callersMethodDlaset
Dlaset sets the off-diagonal elements of A to alpha, and the diagonal elements to beta. If uplo == blas.Upper, only the elements in the upper triangul
lib/gonum/lapack/native/dlaset.go:16
↓ 41 callersMethodMarshalTo
Encode the contents of this object and write it to an io.Writer.
lib/dedis/kyber/encoding.go:27
↓ 41 callersMethodSetBytes
SetBytes sets the scalar from a byte-slice, reducing if necessary to the appropriate modulus. The endianess of the byte-slice is determined by the imp
lib/dedis/kyber/group.go:58
↓ 40 callersMethodDlascl
Dlascl multiplies an m×n matrix by the scalar cto/cfrom. cfrom must not be zero, and cto and cfrom must not be NaN, otherwise Dlascl will panic. Dla
lib/gonum/lapack/native/dlascl.go:19
↓ 40 callersMethodName
Name returns the name of the parameter.
lib/gonum/internal/binding/binding.go:302
↓ 40 callersFunctionnanGeneral
nanGeneral allocates a new r×c general matrix filled with NaN values.
lib/gonum/lapack/testlapack/general.go:71
↓ 39 callersMethodCopy
Copy makes a copy of elements of a into the receiver. It is similar to the built-in copy; it copies as much as the overlap between the two matrices an
lib/gonum/matrix/mat64/dense.go:431
↓ 39 callersFunctionrandomGeneral
randomGeneral allocates a new r×c general matrix filled with random numbers. Out-of-range elements are filled with NaN values.
lib/gonum/lapack/testlapack/general.go:91
↓ 38 callersFunctionEqualApprox
EqualApprox returns whether the matrices a and b have the same size and contain all equal elements with tolerance for element-wise equality specified
lib/gonum/matrix/mat64/matrix.go:432
↓ 38 callersMethodG2
()
lib/dedis/kyber/pairing/pairing.go:10
↓ 38 callersFunctioneye
eye returns an identity matrix of given order and stride.
lib/gonum/lapack/testlapack/general.go:946
↓ 38 callersFunctionuntranspose
untranspose untransposes a matrix if applicable. If a is an Untransposer, then untranspose returns the underlying matrix and true. If it is not, then
lib/gonum/matrix/mat64/dense.go:122
↓ 37 callersMethodAdd
Add sets the target to a + b mod M, where M is a's modulus..
lib/dedis/kyber/group/mod/int.go:207
↓ 37 callersFunctionPanics
Panics returns true if the called function panics during evaluation.
lib/gonum/stat/stat_test.go:955
↓ 37 callersMethodRawMatrix
()
lib/gonum/matrix/mat64/matrix.go:180
↓ 37 callersMethoddouble
Optimized point doubling for use in scalar multiplication. Uses the formulae in section 3.3 of: https://www.iacr.org/archive/asiacrypt2008/53500329/53
lib/dedis/kyber/group/curve25519/ext.go:224
↓ 36 callersMethodCopy
(a Matrix)
lib/gonum/matrix/mat64/matrix.go:144
↓ 36 callersMethodOne
Set to the multiplicative identity (1)
lib/dedis/kyber/group.go:40
↓ 36 callersMethodSymmetric
Symmetric returns the number of rows/columns in the matrix.
lib/gonum/matrix/mat64/symmetric.go:41
↓ 36 callersFunctionflatten
(a [][]float64)
lib/gonum/blas/testblas/common.go:123
↓ 36 callersFunctionmax
(m, n int)
lib/gonum/lapack/cgo/lapack.go:82
↓ 36 callersMethodreuseAs
reuseAs resizes an empty matrix to a r×c matrix, or checks that a non-empty matrix is r×c. reuseAs must be kept in sync with reuseAsZeroed.
lib/gonum/matrix/mat64/dense.go:69
↓ 35 callersMethodBase
Set sets the receiver to this group's standard base point.
lib/dedis/kyber/group.go:76
next →1–100 of 7,917, ranked by callers