Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Floor[] Not An Integer?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56512] Re: [mg56493] Floor[] Not An Integer?
  • From: DrBob <drbob at bigfoot.com>
  • Date: Thu, 28 Apr 2005 02:39:58 -0400 (EDT)
  • References: <200504270153.VAA01737@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

Floor[x] is NOT an integer, unless x is a NUMBER.

Bobby

On Tue, 26 Apr 2005 21:53:01 -0400 (EDT), Scott Guthery <sguthery at mobile-mind.com> wrote:

> I'm trying to use some of the NumericalMath approximations such as
> MiniMaxApproximation and RationalInterpolation with a function that
> includes array references of the form Array[[Floor[x]]].  The function
> plots and evaluates just fine but the NumericalMath functions are
> reporting the error:
>
> "Part::pspec: Part specification Floor[x] is neither an integer nor a
> list of integers."
>
> whereas the documentation states that Floor[x] IS an integer.
>
> What am I missing?
>
> Thanks for any insight.
>
> Cheers, Scott
>
>
>
>



-- 
DrBob at bigfoot.com


  • Prev by Date: Re: Polar Plots don't seem to work
  • Next by Date: Re: Polar Plots don't seem to work
  • Previous by thread: Floor[] Not An Integer?
  • Next by thread: Re: Floor[] Not An Integer?