Thank you! :-)
> sage: v = vector(CDF,[1..10]); v
> (1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0)
> sage: w = v.fft(); w
> (55.0, -5.0 + 15.3884176859*I, -5.0 + 6.88190960236*I, -5.0 +
> 3.63271264003*I, -5.0 + 1.62459848116*I, -5.0, -5.0 - 1.62459848116*I,
> -5.0 - 3.63271264003*I, -5.0 - 6.88190960236*I, -5.0 -
> 15.3884176859*I)
> sage: w.inv_fft()
> (1.0 - 8.881784197e-17*I, 2.0 - 3.7437131288e-16*I, 3.0 +
> 4.15667297272e-18*I, 4.0 + 4.46859877911e-16*I, 5.0 +
> 4.33797144802e-16*I, 6.0 - 8.881784197e-17*I, 7.0 +
> 4.61256576967e-17*I, 8.0 + 2.04083553579e-16*I, 9.0 -
> 3.67679530233e-16*I, 10.0 - 2.15336379908e-16*I)
>
> > Thanks.
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---