Versions in this module Expand all Collapse all v5 v5.0.5 May 3, 2024 Changes in this version + func EncodeLinearTransformation[T Integer](ecd *Encoder, diagonals Diagonals[T], allocated LinearTransformation) (err error) + func GaloisElementsForLinearTransformation(params rlwe.ParameterProvider, lt LinearTransformationParameters) (galEls []uint64) + func NewCiphertext(params Parameters, degree, level int) *rlwe.Ciphertext + func NewDecryptor(params Parameters, key *rlwe.SecretKey) *rlwe.Decryptor + func NewEncryptor(params Parameters, key rlwe.EncryptionKey) *rlwe.Encryptor + func NewKeyGenerator(params Parameters) *rlwe.KeyGenerator + func NewPlaintext(params Parameters, level int) *rlwe.Plaintext + func NewPowerBasis(ct *rlwe.Ciphertext) he.PowerBasis + type CoefficientGetter struct + Values []uint64 + func (c CoefficientGetter) GetSingleCoefficient(pol he.Polynomial, k int) (value uint64) + func (c CoefficientGetter) GetVectorCoefficient(pol he.PolynomialVector, k int) (values []uint64) + func (c CoefficientGetter) ShallowCopy() he.CoefficientGetter[uint64] + type Diagonals he.Diagonals[T] + func (m Diagonals[T]) DiagonalsIndexList() (indexes []int) + type Encoder struct + func NewEncoder(params Parameters) *Encoder + func (ecd Encoder) ShallowCopy() *Encoder + type Evaluator struct + func NewEvaluator(params Parameters, evk rlwe.EvaluationKeySet) *Evaluator + func (eval Evaluator) GetParameters() *Parameters + func (eval Evaluator) ShallowCopy() *Evaluator + func (eval Evaluator) WithKey(evk rlwe.EvaluationKeySet) *Evaluator + type Integer interface + type LinearTransformation he.LinearTransformation + func NewLinearTransformation(params rlwe.ParameterProvider, lt LinearTransformationParameters) LinearTransformation + func (lt LinearTransformation) GaloisElements(params rlwe.ParameterProvider) []uint64 + type LinearTransformationEvaluator struct + func NewLinearTransformationEvaluator(eval he.EvaluatorForLinearTransformation) (linTransEval *LinearTransformationEvaluator) + func (eval LinearTransformationEvaluator) Evaluate(ctIn *rlwe.Ciphertext, linearTransformation LinearTransformation, ...) (err error) + func (eval LinearTransformationEvaluator) EvaluateMany(ctIn *rlwe.Ciphertext, linearTransformations []LinearTransformation, ...) (err error) + func (eval LinearTransformationEvaluator) EvaluateManyNew(ctIn *rlwe.Ciphertext, linearTransformations []LinearTransformation) (opOut []*rlwe.Ciphertext, err error) + func (eval LinearTransformationEvaluator) EvaluateNew(ctIn *rlwe.Ciphertext, linearTransformation LinearTransformation) (opOut *rlwe.Ciphertext, err error) + func (eval LinearTransformationEvaluator) EvaluateSequential(ctIn *rlwe.Ciphertext, linearTransformations []LinearTransformation, ...) (err error) + func (eval LinearTransformationEvaluator) EvaluateSequentialNew(ctIn *rlwe.Ciphertext, linearTransformations []LinearTransformation) (opOut *rlwe.Ciphertext, err error) + type LinearTransformationParameters he.LinearTransformationParameters + type Parameters struct + func NewParametersFromLiteral(paramsLit ParametersLiteral) (Parameters, error) + func (p *Parameters) UnmarshalBinary(d []byte) (err error) + func (p *Parameters) UnmarshalJSON(d []byte) (err error) + func (p Parameters) Equal(other *Parameters) bool + func (p Parameters) MarshalBinary() (d []byte, err error) + func (p Parameters) MarshalJSON() (d []byte, err error) + type ParametersLiteral bgv.ParametersLiteral + type Polynomial he.Polynomial + func NewPolynomial[T Integer](coeffs []T) Polynomial + type PolynomialEvaluator struct + InvariantTensoring bool + func NewPolynomialEvaluator(params Parameters, eval he.Evaluator, InvariantTensoring bool) *PolynomialEvaluator + func (eval PolynomialEvaluator) Evaluate(ct *rlwe.Ciphertext, p interface{}, targetScale rlwe.Scale) (opOut *rlwe.Ciphertext, err error) + func (eval PolynomialEvaluator) EvaluateFromPowerBasis(pb he.PowerBasis, p interface{}, targetScale rlwe.Scale) (opOut *rlwe.Ciphertext, err error) + type PolynomialVector he.PolynomialVector + func NewPolynomialVector[T Integer](polys [][]T, mapping map[int][]int) (PolynomialVector, error) + func (p PolynomialVector) Depth() int