Function lbcrypto::ToReal(std::complex<double>)

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