MathGroup Archive 2007

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

Search the Archive

Re: pattern

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84364] Re: pattern
  • From: Adriano Pascoletti <adriano.pascoletti at gmail.com>
  • Date: Thu, 20 Dec 2007 00:09:55 -0500 (EST)
  • References: <3eb7b73d-e7dd-488e-abdc-0d0d1473258d@x69g2000hsx.googlegroups.com>

On Dec 19, 10:23 am, orel... 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

f[m_] := manipulationsOf[m] /; MatrixQ[m] && Dimensions[m] === {2, 2}

Adriano Pascoletti


  • Prev by Date: Re: pattern
  • Next by Date: Collapsing animation output
  • Previous by thread: Re: pattern
  • Next by thread: Re: pattern