Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Re: pattern

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84339] Re: [mg84326] Re: pattern
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 19 Dec 2007 23:56:59 -0500 (EST)
  • Reply-to: hanlonr at cox.net

f[x_?MatrixQ] := Det[x] /; Dimensions[x] == {2, 2};


Bob Hanlon

---- 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



  • Prev by Date: Re: express a quadratic, in the form (x+a)^2 + b
  • Next by Date: Re: express a quadratic, in the form (x+a)^2 + b
  • Previous by thread: Re: pattern
  • Next by thread: Re: pattern