MathGroup Archive 2007

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

Search the Archive

Re: pattern



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




  • 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: Re: pattern