Mercurial Hosting > traffic-intelligence
changeset 90:f84293ad4611
renamed inner to cross product
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 09 Jun 2011 11:27:31 -0400 |
parents | f88a19695bba |
children | daa05fae1a70 |
files | python/moving.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r f88a19695bba -r f84293ad4611 python/moving.py --- a/python/moving.py Thu Jun 09 11:18:44 2011 -0400 +++ b/python/moving.py Thu Jun 09 11:27:31 2011 -0400 @@ -168,8 +168,8 @@ return p1.x*p2.x+p1.y*p2.y @staticmethod - def inner(p1, p2): - 'Inner product' + def cross(p1, p2): + 'Cross product' return p1.x*p2.y-p1.y*p2.x @staticmethod