Re: pattern
- To: mathgroup at smc.vnet.net
- Subject: [mg84377] Re: pattern
- From: dh <dh at metrohm.ch>
- Date: Thu, 20 Dec 2007 00:16:46 -0500 (EST)
- References: <3eb7b73d-e7dd-488e-abdc-0d0d1473258d@x69g2000hsx.googlegroups.com> <fkanuj$dlh$1@smc.vnet.net>
Hi,
consider:
f[x_/;Dimensions[x]=={2,2}]:= ...
hope this helps, Daniel
orelang at gmail.com wrote:
> I want to define a function that accepts only one argument - a 2x2
> matrix and not any more.
>
> Is it possible?
>
> orelang
- Follow-Ups:
- Re: Re: pattern
- From: Brett Champion <brettc@wolfram.com>
- Re: Re: pattern