Created
July 23, 2021 14:25
-
-
Save nariaki3551/acddd4639fa598e48e0dbdb25f9e1c5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <NTL/LLL.h> | |
int main(int argc, char **argv) | |
{ | |
NTL::Mat<int> B; | |
std::string basisfile = "tmp.txt"; | |
std::ifstream fin(basisfile); | |
if( !fin.is_open() ) | |
{ | |
std::cout << "can not open input file: " << basisfile << std::endl; | |
exit(0); | |
} | |
fin >> B; | |
std::cout << B << std::endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment