Function parameters, using : and ?
- To: mathgroup at smc.vnet.net
- Subject: [mg2813] Function parameters, using : and ?
- From: rmarimon at leland.stanford.edu (Ricardo Marimon)
- Date: Wed, 20 Dec 1995 01:15:39 -0500
- Organization: Stanford University
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 suggestions? - Ricardo Marimon rmarimon at leland.stanford.edu