Template Function lbcrypto::RotateVecResult(Matrix<Element> const&)

Function Documentation

template<typename Element>
Matrix<typename Element::Vector> lbcrypto::RotateVecResult(Matrix<Element> const &inMat)

Each element becomes a square matrix with columns of that element’s rotations in Format::COEFFICIENT form.

Each element becomes a square matrix with columns of that element’s rotations in coefficient form. See pages 7-8 of https://eprint.iacr.org/2013/297

Parameters

&inMat – the matrix of power-of-2 cyclotomic ring elements to be rotated

Returns

the resulting matrix of big binary integers