| 1 | initial version |
Your error is
ValueError: arctan2(0,0) undefined
Well, that is true! Is it possible that you want
[amp(State=r).n() for r in srange(1,Tst)]
instead? (This doesn't raise an error.)
Remember, Python and Sage ranges start at zero.
| 2 | No.2 Revision |
Your error is
ValueError: arctan2(0,0) undefined
Well, that is true! The arctan of $0/0$ doesn't really make sense. Is it possible that you want
[amp(State=r).n() for r in srange(1,Tst)]
instead? (This doesn't raise an error.)
Remember, Python and Sage ranges start at zero.
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.