Re: Problem: Approximate complex values in Mathematica 8.0.1
- To: mathgroup at smc.vnet.net
- Subject: [mg117908] Re: Problem: Approximate complex values in Mathematica 8.0.1
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Mon, 4 Apr 2011 06:29:05 -0400 (EDT)
As a workaround you could either Chop the input or output fnc = Interpolation[{{0, 0}, {2, 2}}, InterpolationOrder -> 1]; fnc[Chop[N[I]/I]] 1. Chop[fnc[N[I]/I]] 1. or redefine the function definition to include Chop fnc = Interpolation[{{0, 0}, {2, 2}}, InterpolationOrder -> 1][Chop[#]] &; fnc[N[I]/I] 1. fnc = Chop[Interpolation[{{0, 0}, {2, 2}}, InterpolationOrder -> 1][#]] &; fnc[N[I]/I] 1. Bob Hanlon ---- dr DanW <dmaxwarren at gmail.com> wrote: ============= On a second try, the 1. I/I example worked. However, fnc[N[I]/I] does not. I did find a fix for my immediate problem, but my point is that the behavior of Mathematica has changed, and it is more insidious than the way approximate values are displayed. Daniel