Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Compile Fourier

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64863] Compile Fourier
  • From: Alberto Verga <Alberto.Verga at laposte.net>
  • Date: Mon, 6 Mar 2006 05:01:09 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

The following piece of code gives an error message 'Compiled expression 
should be a rank 1 tensor of machine-size complex numbers'

    Compile[{{m, _Real, 2}}, Fourier[m]][Table[N[i - j], {i, 4}, {j, 4}]]

Does this mean that Fourier[] cannot be compiled with rank 2 arrays?
My goal is to write a pseudospectral code to solve 2D PDE: compiling the 
time loop seems unavoidable if one wants reasonable performance.

Thanks.

Alberto Verga.
Alberto.Verga at irphe.univ-mrs.fr





  • Prev by Date: Re: MatrixForm to JPG
  • Next by Date: Re: Extract values and multilpicities from list
  • Previous by thread: Re: please help Math-latex
  • Next by thread: Re: Compile Fourier