Re: "Transparency" with respect to differentiation
- To: mathgroup at smc.vnet.net
- Subject: [mg74056] Re: "Transparency" with respect to differentiation
- From: Martin Schoenecker <ms_usenet at gmx.de>
- Date: Thu, 8 Mar 2007 04:32:35 -0500 (EST)
- Organization: Technische Universitaet Darmstadt
- References: <es909c$2c5$1@smc.vnet.net>
> And, additionaly, how could I define a standard form of this object,
> that returns a 'nicer' version (however maybe a bit less unambiguous),
I found out the answer to the last question of the OP (i.e. myself):
Advanced Topic "Low-Level Input and Output Rules", 2.9.17, gives an
example how to change the output format, still using the mathematical
definition. If I want to display the function as prefix "d":
In[1]:=
quat /:
MakeBoxes[quat[arg_],
StandardForm] :=
RowBox[{MakeBoxes[d,
StandardForm], MakeBoxes[arg]}]
In[2]:=
quat[asdf]
Out[2]=
d asdf
Letting this "quat" or "d" let pass the differentiation to its argument
is still an open question.