MathGroup Archive 2009

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

Search the Archive

Question on Rescale[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103296] Question on Rescale[]
  • From: Alexey <lehin.p at gmail.com>
  • Date: Mon, 14 Sep 2009 07:10:05 -0400 (EDT)

Hello,
Consider the following:

In[1]:= r=Rescale[x,{min,max}]
Rescale[2,{-Infinity,Infinity}]
r/.{x->2,min->-Infinity,max->Infinity}
Out[1]= -(min/(max-min))+x/(max-min)
Out[2]= 1/Sqrt[2]
During evaluation of In[1]:= \[Infinity]::indet: Indeterminate
expression 0 (-\[Infinity]) encountered. >>
Out[3]= Indeterminate

At this moment I can not imagine why Rescale[2,{-Infinity,Infinity}]
gives 1/Sqrt[2]. Is this behavior correct?


  • Prev by Date: Re: Mathematica 7.0.0 running on Mac OSX Snow Leopard ?
  • Next by Date: Primes'_Medium_Theorem_and_Goldbach_conjecture
  • Previous by thread: Re: Re: Re: Produce PDFs of Documentation
  • Next by thread: Re: Question on Rescale[]