[sage-support] Convolution Polynomial Ring

2013-08-22 Thread Santanu Sarkar
Dear all, Is convolution polynomial ring implemented in Sage? I want to implement NTRU public key cryptosystem. Hence I need modular inverse of a polynomial also in the ring. With regards, Santanu -- You received this message because you are subscribed to the Google Groups "sage-support" grou

Re: [sage-support] Convolution

2012-09-17 Thread David Joyner
On Mon, Sep 17, 2012 at 5:55 PM, Dan Aldrich wrote: > Can't seem to get the convolution of these two functions. > > f(t) = unit_step(t) - unit_step(t-3) > > g(t) = unit_step(t) - unit_step(t-1) Sorry, the Piecewise class is very clunky and old. Is something like this helpful? sage: x = Polynom

[sage-support] Convolution

2012-09-17 Thread Dan Aldrich
Can't seem to get the convolution of these two functions. f(t) = unit_step(t) - unit_step(t-3) g(t) = unit_step(t) - unit_step(t-1) Matlab (argghh...) does it simply: conv(f,g). I tried the methods in the documentation: z = f.convolution(g), but no no luck getting it to work in sage. Th

Re: [sage-support] Convolution and sine integral

2010-05-19 Thread William Stein
On Wednesday, May 19, 2010, Jason Grout wrote: > On 05/19/2010 09:58 AM, Tobias Katz wrote: > > Hi, > Indeed I am looking for s.th. like > > g(t) = convolve(f,sin) > > I am not familiar with Maxima - I had a short look at it but I didn't > find a function like this. > > Is the best way to convolve

Re: [sage-support] Convolution and sine integral

2010-05-19 Thread David Joyner
On Wed, May 19, 2010 at 6:46 AM, Tobias Katz wrote: > Hi, > I am trying to use sage for signal analysis and didn't find a solution > to perform symbolic convolution. Is there a way to do this? > Has anybody done something similar in sage before? Do you mean this, for example? sage: x,t = var(

[sage-support] Convolution and sine integral

2010-05-19 Thread Tobias Katz
Hi, I am trying to use sage for signal analysis and didn't find a solution to perform symbolic convolution. Is there a way to do this? Has anybody done something similar in sage before? Is there a way to work with the sine integral? I tried to get it by integrating a sinc-function but I didn't get