MathGroup Archive 2009

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

Search the Archive

Re: mimic InterpolatingFunction et. al. formatting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102105] Re: mimic InterpolatingFunction et. al. formatting
  • From: mark mcclure <mcmcclur at unca.edu>
  • Date: Wed, 29 Jul 2009 05:55:54 -0400 (EDT)
  • References: <h4m4af$ea9$1@smc.vnet.net>

On Jul 28, 2:02 am, Josh Bukart <burk... at berkeley.edu> wrote:
> When one uses Interpolation[], one gets in return an
> InterpolatingFunction object which typically formats in
> the front end as something like
>
> InterpolatingFunction[{{0.,1.}},<>]
>
> How does it achieve the "<>" standing for all the
> massive amounts of internal data?

See the Documentation Center on Format.
Briefly,

Format[myData[list_List]] := myData["<..>"];
myData[Range[10]]
    myData["<..>"]

% // InputForm
    myData[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}]

Mark McClure


  • Prev by Date: ViewVector->{0,0,0}
  • Next by Date: Re: Re: Re: How can I "perturbate" a
  • Previous by thread: Re: mimic InterpolatingFunction et. al. formatting
  • Next by thread: Re: mimic InterpolatingFunction et. al. formatting