123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #include "Lemma"
-
- using namespace Lemma;
-
-
- int main() {
-
-
-
-
- int rnObs;
- int rnGates;
- std::string inputfile;
- MatrixXr somedata;
- Vector3Xr somepositions;
-
- DataTEM* TheData = DataTEM::New();
- DataReaderTem* Reader = DataReaderTem::New();
-
- inputfile = "temreadertest.txt";
-
- Reader->SetDataTEM(TheData);
- Reader->ReadData(inputfile);
-
- rnObs = TheData->GetnObs();
- rnGates = TheData->GetnGates();
- somedata = TheData->GetData();
- somepositions = TheData->GetPositions();
-
- std::cout << rnObs << " " << rnGates << std::endl;
- std::cout << somedata << std::endl;
- std::cout << somepositions << std::endl;
-
- Reader->Delete();
- TheData->Delete();
-
- return EXIT_SUCCESS;
- }
|