Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Arg[z] that works with zero argument?

  • To: mathgroup at
  • Subject: [mg50860] Arg[z] that works with zero argument?
  • From: AES/newspost <siegman at>
  • Date: Fri, 24 Sep 2004 04:41:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

I'd like a simple Arg[z] function that would "work" [return some simple 
value; zero is OK] for zero argument values, even if z is a list.

My simplest kludge so far is

    myArg[z_] := Module[{eps=10^(-17)}, Arg[z+eps]]

Seems to work OK so far -- better ways to do this?

  • Prev by Date: Re: Re: Forcing a Derivative
  • Next by Date: Button creating buttons
  • Previous by thread: (Remote connection failed) FrontEnd is listing on wrong port?
  • Next by thread: Re: Arg[z] that works with zero argument?