Function lbcrypto::SplitInt32AltIntoPolyElements

Function Documentation

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

Another method for splitting 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