Function lbcrypto::ToReal(std::complex<double>)
Defined in File ckksrns-utils.h
Function Documentation
-
inline double lbcrypto::ToReal(std::complex<double> val)
Converts a complex coefficient to a real number by taking its real part.
- Parameters
val – the value
- Returns
the real part of the value