Function lbcrypto::SplitInt32IntoPolyElements

Function Documentation

inline MatrixStrassen<Poly> lbcrypto::SplitInt32IntoPolyElements(MatrixStrassen<int32_t> const &other, size_t n, const std::shared_ptr<ILParams> params)

Split a vector of int32_t into a vector of ring elements with ring dimension n

Parameters
  • other – the input matrix

  • n – the ring dimension

  • params – Poly element params

Returns

the resulting matrix of Poly