backend/applications/utilities/seal-param-selector.cpp
/*
Helper function: Prints the parameters in a SEALContext.
*/
Helper function: Prints the parameters in a SEALContext.
Helper function : Prints the parameters in a SEALContext .
void print_parameters(const SEALContext &context) {
  cout << "/ Encryption parameters:" << endl;
  cout << "| poly_modulus: " << context.poly_modulus().to_string() << endl;
  cout << "| coeff_modulus size: "
       << context.total_coeff_modulus().significant_bit_count() << " bits"
       << endl;
  cout << "| plain_modulus: " << context.plain_modulus().value() << endl;
  cout << "\\ noise_standard_deviation: " << context.noise_standard_deviation()
       << endl;
  cout << endl;
}
void print_parameters ( const SEALContext & context ) { cout << " " << endl ; cout << " " << context . poly_modulus ( ) . to_string ( ) << endl ; cout << " " << context . total_coeff_modulus ( ) . significant_bit_count ( ) << " " << endl ; cout << " " << context . plain_modulus ( ) . value ( ) << endl ; cout << " \\ " << context . noise_standard_deviation ( ) << endl ; cout << endl ; }
Helper function: Prints the parameters in a SEALContext.
Helper function : Prints the parameters in a SEALContext .
/*
  Print the size of the true (product) coefficient modulus
  */