Function lbcrypto::ConvertToInt32(const Matrix<BigVector>&, const BigInteger&)
Defined in File matrix.cpp
Function Documentation
-
Matrix<int32_t> lbcrypto::ConvertToInt32(const Matrix<BigVector> &input, const BigInteger &modulus)
Convert a matrix of BigVector to int32_t Convert from Z_q to [-q/2, q/2]
- Parameters
&input – the input matrix
&modulus – the ring modulus
- Returns
the resulting matrix of int32_t