MathGroup Archive 2007

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

Search the Archive

Best practise for defining shortened display versions of custom functions


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