MathGroup Archive 2006

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

Search the Archive

Re: Question - Function Definition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63714] Re: [mg63703] Question - Function Definition
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Wed, 11 Jan 2006 06:49:36 -0500 (EST)
  • References: <200601100648.BAA22111@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Jan 10, 2006, at 1:48 AM, actuary at mchsi.com wrote:

> Hello:
>
> I'm working my way through the text "A Course in Computational Number
> Theory".  A function  in the text is defined in the following manner
> xxx[a_Integer,b_Integer,c_List,d_: Infinity]:= yyyyyyyy.
>
> What does  ":Infinity" do in "d_: Infinity"

It means d defaults to a value of Infinity if it's not supplied, see  
section A.5.1 in The Mathematica Book.

Regards,

Ssezi


  • Prev by Date: PrincipalComponents
  • Next by Date: units
  • Previous by thread: Question - Function Definition
  • Next by thread: Re: Question - Function Definition