Skip to main content
2 events
when toggle format what by license comment
Jun 11, 2018 at 19:01 comment added xzczd Just a side note, the following is the compiled version of the first function: Clear[phase]; phase = Compile[{{l, _Complex, 1}}, Module[{args = Arg[l]}, args + Prepend[2 Pi Accumulate@-IntegerPart@Differences[args/Pi], 0]], RuntimeOptions -> "EvaluateSymbolically" -> False];
May 21, 2012 at 16:43 history answered celtschk CC BY-SA 3.0