test_utils.h File Reference
#include <fplll.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
int read_file (T &X, const char *input_filename)
 Read T from input_filename. More...
 

Function Documentation

◆ read_file()

template<class T >
int read_file ( T &  X,
const char *  input_filename 
)

Read T from input_filename.

Parameters
XT (T is usually a ZZ_mat<ZT> or a vector<Z_NR<ZT>>
input_filename
Returns
zero if the file is correctly read, 1 otherwise.