^2*beta))==epsilon)
does not. So I guess there's an upper limit to the number of
operations that the expression being replaced can have to work in subs
().
On Oct 8, 12:52 pm, Francois Maltey wrote:
> Ranjit a écrit :
>
>
>
> > I'm trying to figure out how to do a s
7, 4:20 pm, "ma...@mendelu.cz" wrote:
> On 7 říj, 16:21, Ranjit wrote:
>
>
>
>
>
> > I'm trying to figure out how to do a simple substitution. I've the
> > following code:
>
> > var('r beta beta_0 R a h')
> > psi=functio
I'm trying to figure out how to do a simple substitution. I've the
following code:
var('r beta beta_0 R a h')
psi=function('psi',r)
sigma=function('sigma',r)
H_0=function('H_0',r)
H_grad = lambda psi : (1/2)*(beta/beta_0)*R^2*(psi.diff(r))^2
H_0(psi) = -(1/2)*(beta/beta_0-1)*psi^2 + beta*a*psi^
-M. Hampton
>
> On Sep 11, 5:43 pm, John H Palmieri wrote:
>
>
>
> > On Sep 11, 11:02 am, Ranjit wrote:
>
> > > Yeah, the sample code works for me too. I'm not sure I see what's
> > > different about what I'm doing.
>
> > > Here&
np.arange(-32,32,0.05)
eeM=[[ee(x,y) for x in grid] for y in grid]
list_plot3d(eeM)
Thanks,
-Ranjit
On Sep 11, 1:37 pm, Jason Grout wrote:
> Ranjit wrote:
> > I tried using the function list_plot3d to visualize a 2d matrix, but
> > it doesn't seem to work. I tried it with both a
I tried using the function list_plot3d to visualize a 2d matrix, but
it doesn't seem to work. I tried it with both a numpy array and a sage
matrix and in both cases the Jmol applet loads but then all I see is a
white box. Right clicking gives the contextual menu, but none of the
options seem to do