MathGroup Archive 2003

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

Search the Archive

Re: Compile message suppression

In article <b2599j$hqu$1 at>,
 "Y.A.Tesiram" <yas at> wrote:

> I have a function defined as
> f = Compile[{{arg1, _Real, 2}, {arg2, _Real}, {arg3, _Real}, Module[ {},
> expr]]
> and I want to use a a non-Real assignment to arg2 called x, Mathematica
> correctly returns a warning message saying that assignment x should be a
> real, but it still returns the correct symbolic expression for f. How do I
> turn the message off or better still  how can I handle this sort of
> assignment a little more thoroughly inside Compile?

Use _Complex instead of _Real for arg2?


  • Prev by Date: "Editable" cells not editable
  • Next by Date: Re: Derivative help
  • Previous by thread: Re: Compile message suppression
  • Next by thread: Spaces appearing for no reason