|
[Date Index]
[Thread Index]
[Author Index]
Re: Re: 1) Global Real Space and 2) Histogram Y-axis
- To: mathgroup at smc.vnet.net
- Subject: [mg51699] Re: Re: 1) Global Real Space and 2) Histogram Y-axis
- From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
- Date: Fri, 29 Oct 2004 03:39:57 -0400 (EDT)
- References: <clpqo8$9vo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks for the warning. I didn't know about the pitfalls (i.e. bugs) for the
unwary. As it happens, I would not use RealOnly myself because complex
number are my friends!
Steve Luttrell
"Florian Jaccard" <florian.jaccard at eiaj.ch> wrote in message
news:clpqo8$9vo$1 at smc.vnet.net...
> Hello Steve,
>
> I suggest not to use RealOnly.
> With the package loaded, there are horrible mistakes with 5.0.
> (Let us call it "bugs")
>
> For example :
>
> In[3]:=
> << "Miscellaneous`RealOnly`"
>
> In[10]:=
> Integrate[1/(x^2 + x + 1), x]
>
> Out[10]=
> x/(1 + x + x^2)
>
> Which is wrong, of course !
>
> So it is better to use
> ComplexExpand and
> Simplify[expr,Element[x,Reals]]
> and so on!
>
> Regards
>
> F.Jaccard
>
>
> -----Message d'origine-----
> De : Steve Luttrell [mailto:steve_usenet at _removemefirst_luttrell.org.uk]
> Envoyé : mercredi, 27. octobre 2004 07:54
> À : mathgroup at smc.vnet.net
> Objet : Re: 1) Global Real Space and 2) Histogram Y-axis
>
> Use the Miscellaneous`RealOnly` package.
>
> Steve Luttrell
>
> "Skirmantas Janusonis" <skirmantas.janusonis at yale.edu> wrote in message
> news:clcng4$q2p$1 at smc.vnet.net...
>> I'd like to thank Janos D. Pinter and DrBob for their advice on
>> NMinimize,
>> which I found very helpful.
>>
>> Mathematica is so carefully designed that its accuracy sometimes may be
>> annoying. Namely, it never forgets about complex numbers and sometimes I
>> wish it did. My question is this: is it possible to tell a notebook that
>> it
>> has to deal only with real numbers? It would be nice to have some global
>> setting so that one doesn't have to specify the same assumptions over and
>> over again.
>>
>> My second question is this: How do I adjust the range of the y-axis of a
>> histogram? PlotRange->{min,max} doesn't seem to work.
>>
>> Thanks!
>>
>> Skirmantas
>>
>>
>
>
>
>
Prev by Date:
An Integration bug?
Next by Date:
Re: Bug in Graphics Text under Linux
Previous by thread:
Re: 1) Global Real Space and 2) Histogram Y-axis
Next by thread:
Integration of UnitStep has bugs!? help!
|