MathGroup Archive 2002

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

Search the Archive

Re: How to specify a parameter

  • To: mathgroup at
  • Subject: [mg33757] Re: How to specify a parameter
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 11 Apr 2002 02:14:13 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <a90i03$kh1$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


you can't bcause Mathematica knows nothing about data
types. It only knows patterns.
For integrate you can use the Assumptions option to specify
parameter properties

Integrate[Exp[-a x], {x, 0, Infinity}, Assumptions -> {Re[a] > 0}]

You can restrict the rules/definitions for a matrix by

myInvert[m_?MatrixQ] /; Equal @@ Dimensions[m] := Inverse[m]


Guojun Zhu wrote:
> I want to do some integrate with some parameters.  Those integrate can only
> be done if those parameters are only real or only positive.  How to specify
> it in the integrate?  Sometimes Mathmatica even don't know whether my
> parameters are matrix or number or express. How to specify it?
> Thank you.
> --
> Sincerely Yours
> Guojun Zhu

  • Prev by Date: RE: Re: Re: Particular structure 2
  • Next by Date: HURST EXPONENT
  • Previous by thread: How to specify a parameter
  • Next by thread: RE: How to specify a parameter