Changeset aa1e2cc in tol for tol_pkg/MatQuery/test/test_0001/test.tol
- Timestamp:
- Nov 27, 2009, 10:16:22 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 6cea4d2
- Parents:
- 345a4d7
- File:
-
- 1 edited
-
tol_pkg/MatQuery/test/test_0001/test.tol (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol_pkg/MatQuery/test/test_0001/test.tol
r345a4d7 raa1e2cc 9 9 Text summary_ = "checking matrix row selection"; 10 10 11 #Require MatQuery; 12 //#Embed "../../../_embed_all.tol"; 13 11 14 //Write here the initial test TOL code if needed 12 15 Real numErr0 = Copy(NError); … … 18 21 WriteLn("Current Random Seed = "<<rndSeed); 19 22 20 #Require MatQuery;21 //#Embed "../../../_embed_all.tol";22 23 23 24 //The order of magnitude required for number of geographic points … … 69 70 VMatrix points = Mat2VMat(BinGroup("<<",city.points)); 70 71 72 71 73 //Target point 72 74 VMatrix p0 = SubRow(points,[[IntRand(1,point.num)]])+ … … 79 81 points, p0, distance); 80 82 VMatrix p0.select.HC = SubRow(points,p0.select.idx.HC); 83 81 84 Real t1 = Copy(Time); 82 85 WriteLn("SelectRowsInHyperCube full "<<VRows(p0.select.HC)+" items " … … 88 91 points, p0, distance); 89 92 VMatrix p0.select.HE.1 = SubRow(points,p0.select.idx.HE.1); 93 90 94 Real t2 = Copy(Time); 91 95 WriteLn("SelectRowsInHyperSphere full "<<VRows(p0.select.HE.1)+" items " … … 106 110 Card(p0.select.idx.HE.1 * p0.select.idx.HC) == 107 111 Card(p0.select.idx.HE.1)); 112 108 113 Real ok.2 = VMatMax(Abs(p0.select.HE.2-p0.select.HE.1))==0; 109 114
Note: See TracChangeset
for help on using the changeset viewer.
