| 1 | initial version |
There is no such function defined in Sage. Yet, you can write it as:
sage: a_perp = vector([-a[1], a[0]])
sage: a_perp
(-4, 3)
If you think this function is useful, I urge you to add it (as well as maybe "perp-dot products") into Sage by creating a ticket on trac.sagemath.org.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.