Menu

#2 Format display of symbols required

open
nobody
None
5
2001-10-20
2001-10-20
Anonymous
No

A way to control the display of some functions.

For example in order to show a Tensor we need a symbol
with many up and sub indexes.

This could be expressed like:

Format[ Tensor[A_,sub_,sup_] ]:=
Subsuperscript[A,sub , sup ];

and would display for example:

Tensor[A,i,j]

-------------
i
A
j

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.