MathGroup Archive 2010

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

Search the Archive

Re: Mathematica 8

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113850] Re: Mathematica 8
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Mon, 15 Nov 2010 05:52:36 -0500 (EST)
  • References: <ibl9dj$b64$1@smc.vnet.net> <ibog84$fe1$1@smc.vnet.net>

On 14/11/10 11:13, Raffy wrote:

>
> However, I'm still waiting for some low-level improvements.  I would
> kill for some of these:
>
> - packed arrays supporting Indeterminate, -Infinity, and Infinity
> (especially for JavaLink)

Of course, assuming you have a layer of compiled Java (i.e. you are not 
just using J/Link to call library functions), a reasonable alternative 
is to use ReplaceAll to replace the +/- inf values with some impossible 
value (preferably a value with an exact binary representation), and then 
swap the values back again using a loop in the Java.

David Bailey

http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Mathematica 8
  • Next by Date: Re: Plot and DSolve
  • Previous by thread: Re: Mathematica 8
  • Next by thread: Re: Mathematica 8