First time here? Check out the FAQ!

Ask Your Question
1

Illegal kernel in adjoin pvar

asked 12 years ago

bolverk gravatar image

updated 12 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 12 years ago

kcrisman gravatar image

updated 12 years ago

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.

Preview: (hide)
link

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: 12 years ago

Seen: 504 times

Last updated: Mar 05 '13