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?
- Follow-Ups:
- Re: Best practise for defining shortened display versions
- From: Carl Woll <carlw@wolfram.com>
- Re: Best practise for defining shortened display versions