Template Function lbcrypto::SplitInt64AltIntoElements

Function Documentation

template<typename Element>
Matrix<Element> lbcrypto::SplitInt64AltIntoElements(Matrix<int64_t> const &other, size_t n, const std::shared_ptr<typename Element::Params> params)

Split a vector of int64_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