Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

how to pull real numbers out of a linear funktion ?



I want to define a function f[x_] with the property, that

f[c_ x_] := c f[x] whenever c is a real number

and

f[c_ x_] := -c f[x] whenever c is a komplex number.

It semms to me, that mathematica can not give a variable the   attribute
"real number" or "complex number".

But it should be easy ... somehow ;-)

Roland Bollmann (student of physics)



  • Prev by Date: RE: plot graph
  • Next by Date: Re: 2nd level pure function
  • Prev by thread: RE: ISO data management, graph
  • Next by thread: RE: how to pull real numbers out of a linear funktion ?