CSS product code  0.1
C++ library to estimate distance of CSS codes. Some particular construction of CSS codes are implemented.
mm_write.h
Go to the documentation of this file.
1 #ifndef MM_WRITE_H
2 #define MM_WRITE_H
3 
4 //#include <stdio.h>
5 //#include <stdlib.h>
6 //#include <fstream> //ofstream ifstream
7 #include <itpp/itbase.h>
8 
9 
10 //#include <itpp/itbase.h>
11 
12 
13 //int GF2mat_to_MM(GF2mat G, char* file_name="mm_temp.dat");
14 int GF2mat_to_MM(itpp::GF2mat G, char* file_name, int debug=0);
15 
16 //int mat_to_MM(mat G, char* file_name="mm_temp.dat");
17 int mat_to_MM(itpp::mat G, char* file_name);
18 
19 //add string compatibility
20 int GF2mat_to_MM(itpp::mat G, std::string file_name);
21 int mat_to_MM(itpp::mat G, std::string file_name);
22 
23 #endif
24 
mat_to_MM
int mat_to_MM(itpp::mat G, char *file_name)
Definition: mm_write.cpp:75
GF2mat_to_MM
int GF2mat_to_MM(itpp::GF2mat G, char *file_name, int debug=0)
Definition: mm_write.cpp:18