Changeset 807 in Sophya for trunk/SophyaProg/Tests/tobjio.cc
- Timestamp:
- Apr 3, 2000, 7:44:06 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tobjio.cc
r768 r807 14 14 #include "fmath.h" 15 15 #include "nbrandom.h" 16 #include "fioarr.h" 16 17 17 18 … … 96 97 for(i=0; i<20; i++) { x = 8.*i/20; (*vpx)(i) = x; (*vpy)(i) = 3*cos(x)+2*sin(x); } 97 98 nom = "vx1"; 98 FIO_T Vector<double> oiov1(vpx);99 FIO_TArray<double> oiov1(vpx); 99 100 oiov1.Write(so, nom); 100 101 cout << "Writing " << nom << endl; 101 102 nom = "vy1"; 102 FIO_T Vector<double> oiov2(vpy);103 FIO_TArray<double> oiov2(vpy); 103 104 oiov2.Write(so, nom); 104 105 cout << "Writing " << nom << endl; … … 106 107 for(i=0; i<30; i++) { x = 8.*i/30+0.1; (*vpx)(i) = sin(2.*x)/(2.*x); } 107 108 nom = "vx2"; 108 FIO_T Vector<double> oiov3(vpy);109 FIO_TArray<double> oiov3(vpy); 109 110 oiov3.Write(so, nom); 110 111 cout << "Writing " << nom << endl; … … 163 164 } 164 165 nom = "mtx1"; 165 FIO_T Matrix<double> oiom(mtx);166 FIO_TArray<double> oiom(mtx); 166 167 oiom.Write(so, nom); 167 168 cout << "Writing " << nom << endl;
Note:
See TracChangeset
for help on using the changeset viewer.