1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-12-19 07:54:28 +00:00

big cleaning and update: switching to C++11

This commit is contained in:
2014-02-13 19:23:39 +00:00
parent f9e355e3ea
commit 47b9789f84
33 changed files with 426 additions and 1057 deletions

View File

@@ -17,10 +17,10 @@ int main(void)
F.open(fileName, File::Mode::read);
A = F.read<DMat>("A");
B = F.read<DMat>("B");
cout << "A=\n" << A << '\n' << endl;
cout << "B=\n" << B << '\n' << endl;
cout << "A*B=\n" << A*B << '\n' << endl;
cout << "cos(A)=\n" << A.unaryExpr(StdMath::cos) << '\n' << endl;
cout << "A=\n" << A << '\n' << endl;
cout << "B=\n" << B << '\n' << endl;
cout << "A*B=\n" << A*B << '\n' << endl;
cout << "cos(A)=\n" << A.unaryExpr(StdMath::cos) << '\n' << endl;
F.close();
// write