Skip to content

Implementing Babystep-Giantstep Matrix-Vector Multiplication with BFV scheme #360

Closed Answered by Pro7ech
fedejinich asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @fedejinich,

The algorithm is implemented for the BGV scheme: linear_transforms.go. Reimplementing it for BFV should be straightforward.

Another option is the experimental branch https://github.com/tuneinsight/lattigo/tree/dev_bgvfv which implements a unification of the BFV and BGV scheme. In this branch the BFV sheme is instantiated as a wrapper of a generalization of BGV, thus it has the API for the linear transform (see bfv.go and this line for an example of how to use it).

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by fedejinich
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Pro7ech
Comment options

Pro7ech Apr 12, 2023
Collaborator

@fedejinich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants