Mercurial > hg > nsaunier > traffic-intelligence
comparison python/tests/moving.txt @ 940:d8ab183a7351
verified motion prediction with prototypes at constant speed (test needed)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Tue, 18 Jul 2017 13:46:17 -0400 |
| parents | 3a06007a4bb7 |
| children | 4f32d82ca390 |
comparison
equal
deleted
inserted
replaced
| 939:a2f3f3ca241e | 940:d8ab183a7351 |
|---|---|
| 53 False | 53 False |
| 54 >>> Point(3,4)-Point(1,7) | 54 >>> Point(3,4)-Point(1,7) |
| 55 (2.000000,-3.000000) | 55 (2.000000,-3.000000) |
| 56 >>> -Point(1,2) | 56 >>> -Point(1,2) |
| 57 (-1.000000,-2.000000) | 57 (-1.000000,-2.000000) |
| 58 >>> Point(1,2).multiply(0.5) | 58 >>> Point(1,2)*0.5 |
| 59 (0.500000,1.000000) | 59 (0.500000,1.000000) |
| 60 | 60 |
| 61 >>> Point(3,2).norm2Squared() | 61 >>> Point(3,2).norm2Squared() |
| 62 13 | 62 13 |
| 63 | 63 |
