Ask Your Question
1

Illegal kernel in adjoin pvar

asked 2013-03-01 06:19:14 +0100

bolverk gravatar image

updated 2013-03-01 21:33:51 +0100

kcrisman gravatar image

I tried running a seemingly simple script involving a Fourier transform in a sage notebook

var('A, x, delta, k, dx, t, v, xi')
temp = A*exp(-(x/delta)^2)
temp = integral(temp*exp(-I*k*x),(x,-oo,oo)).simplify()
(delta>0).assume()
(k>0).assume()
(dx>0).assume()
(xi<1).assume()
temp = temp*exp(-I*k*t*v)*exp(-(k^2)*t*v*dx*(1-xi)/2)
temp = integral(temp*exp(I*k*x)/(2*pi),(k,-oo,oo))

and I got the following error message

Condition of type: SIMPLE-CONDITION
Illegal kernel in `adjoin-pvar'
Available restarts:

1. (CONTINUE) Return from BREAK.

Top level.
>

Any idea what's going on?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-03-01 21:42:48 +0100

kcrisman gravatar image

updated 2013-03-05 11:29:25 +0100

This can be slightly simplified to

var('A, x, delta, k, dx, t, v, xi')
temp = 1/2*A*e^(1/2*(xi - 1)*dx*k^2*t*v - 1/4*delta^2*k^2 - I*k*t*v + I*k*x)/(sqrt(pi)*sqrt(delta^(-2)))
integral(temp,(k,0,oo))

with the same error. So the assumptions are not the cause.

In fact, it is a Maxima error. I've reported this upstream at Maxima bug 2556.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-01 06:19:14 +0100

Seen: 490 times

Last updated: Mar 05 '13