MathGroup Archive 1995

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

Search the Archive

Function parameters, using : and ?

Hi!  Is there a way of using the default pattern(:) and the match(?)
pattern for the same argument in a function?  I'm interested in writting
something like this

   Func[x_List, y_List, epsilon_(?NumberQ):10^-6] := Module[{},...]

but I can't get it to work.  What is the problem? I must have tried all
the different combinations of the charaters _?: without success.  Any

- Ricardo Marimon
  rmarimon at

  • Prev by Date: Re: ParametricPlot3D
  • Next by Date: Mathlink & Macintosh & CodeWarrior
  • Previous by thread: Re: Function?
  • Next by thread: Re: Function parameters, using : and ?