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

MathGroup Archive 2007

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

Search the Archive

Best practise for defining shortened display versions of custom functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80370] Best practise for defining shortened display versions of custom functions
  • From: "Andrew Moylan" <andrew.j.moylan at gmail.com>
  • Date: Mon, 20 Aug 2007 03:38:18 -0400 (EDT)

Expressions with head InterpolatingFunction display in a shortened format in
StandardForm:

Evaluating:

InterpolatingFunction[{{1, 4}}, {3, 1, 0, {4}, {4}, 0, 0, 0, 
  0}, {{1, 2, 3, 4}}, {{1}, {4}, {9}, {16}}, {Automatic}]

yields:

InterpolatingFunction[{{1,4}},<>]

How does InterpolatingFunction[] do this? Is it via custom definitions for
MakeBoxes[] or ToBoxes[] or Format[]? What is the best way to do this for my
own functions?



  • Prev by Date: Dashing with alternating colors?
  • Next by Date: Re: Mathematica 6.0 bug in computing MathieuC
  • Previous by thread: Re: Re: RE: Dashing with alternating colors?
  • Next by thread: Re: Best practise for defining shortened display versions