Ignore:
Timestamp:
Nov 27, 2009, 10:16:22 AM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
6cea4d2
Parents:
345a4d7
Message:

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1737 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_pkg/MatQuery/test/test_0001/test.tol

    r345a4d7 raa1e2cc  
    99Text summary_ = "checking matrix row selection";
    1010
     11  #Require MatQuery;
     12//#Embed "../../../_embed_all.tol";
     13
    1114//Write here the initial test TOL code if needed
    1215Real numErr0 = Copy(NError);
    … …  
    1821WriteLn("Current Random Seed = "<<rndSeed);
    1922
    20   #Require MatQuery;
    21 //#Embed "../../../_embed_all.tol";
    2223
    2324//The order of magnitude required for number of geographic points
    … …  
    6970VMatrix points = Mat2VMat(BinGroup("<<",city.points));
    7071
     72
    7173//Target point
    7274VMatrix p0 = SubRow(points,[[IntRand(1,point.num)]])+
    … …  
    7981  points, p0, distance);
    8082VMatrix p0.select.HC = SubRow(points,p0.select.idx.HC);
     83
    8184Real t1 = Copy(Time);
    8285WriteLn("SelectRowsInHyperCube full "<<VRows(p0.select.HC)+" items "
    … …  
    8891  points, p0, distance);
    8992VMatrix p0.select.HE.1 = SubRow(points,p0.select.idx.HE.1);
     93
    9094Real t2 = Copy(Time);
    9195WriteLn("SelectRowsInHyperSphere full "<<VRows(p0.select.HE.1)+" items "
    … …  
    106110  Card(p0.select.idx.HE.1   *      p0.select.idx.HC) ==
    107111  Card(p0.select.idx.HE.1));
     112
    108113Real ok.2 = VMatMax(Abs(p0.select.HE.2-p0.select.HE.1))==0;
    109114
Note: See TracChangeset for help on using the changeset viewer.