Re: setting an array element with sequence problem problem

2012-04-27 Thread Robert Kern
On 4/27/12 7:18 PM, Debashish Saha wrote: You will want to ask numpy questions on the numpy mailing list. http://www.scipy.org/Mailing_Lists When you do, I recommend stating a clear question in addition to the code and the traceback (although those are very much appreciated). But just to get

setting an array element with sequence problem problem

2012-04-27 Thread Debashish Saha
from __future__ import division from numpy import* import numpy as np import matplotlib.pyplot as plt from scipy.special import jv from scipy.special import yn h_cross=1 m=1 E=np.linspace(0.1,10,100) V0=-100 R=2 K=(2*E)**0.5 K_P=(2*(E-V0))**0.5 '''r=np.linspace(-10,10,1000) def V(r): if