|
[Date Index]
[Thread Index]
[Author Index]
Argument types
- To: mathgroup at smc.vnet.net
- Subject: [mg5345] Argument types
- From: Olivier Georg <olivier.georg at studi.epfl.ch>
- Date: Wed, 27 Nov 1996 01:47:59 -0500
- Organization: EPF Lausanne
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
I recently disovered that you could specify the type of the arguments
of a function being defined. For exemple, f[x_Integer] if you want x
to be an integer. There's also List, Real, Complex and Symbol. But
there's also ?MatrixQ which is not in the Mathematica book, to specify
a matrix. Are there other types?
Olivier
--
-------------------------------------------------------------------
| Olivier Georg \__ e-mail: Olivier.Georg at studi.epfl.ch |
| Rte de Chailly 159 \__ home: http://diwww.epfl.ch/~ogeorg |
| 1814 La Tour-de-Peilz \__ tel: +41 21 944 15 42 |
------------------------------\__----------------------------------
| On ne peut pas tuer le temps \__ |
| Sans blesser un peu l'eternite \__ ________ __o |
| ( As if you could kill time ) \__ _____ _`\<,_ |
| ( without injuring eternity. ) \__ ___ (_)/ (_) |
| Henry David Thoreau \ |
-------------------------------------------------------------------
Prev by Date:
Re: Replace/No Rearrangement
Next by Date:
Re: ComplexExpand
Previous by thread:
mathematica 3.0 notebook problems?
Next by thread:
Help: seek softw.financial Mathematic
|