* Sample of the day ---Operator names
@ 1999-09-16 18:34 David Arnold
0 siblings, 0 replies; only message in thread
From: David Arnold @ 1999-09-16 18:34 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
\magnification=1200
\AmSTeX\ makes it easy to define new operator names.
\define\tr{\operatorname{Tr}}
The sum of the elements on the main diagonal is called the {\it
trace} of the matrix; i.e., if
$$
A=\pmatrix
a_{11} & a_{12} & \dots & a_{1n}\\
a_{21} & a_{22} & \dots & a_{2n}\\
\vdots & \vdots & \ddots & \vdots\\
a_{n1} & a_{n2} & \dots & a_{nn}
\endpmatrix,
$$
then
$$
\tr(A)=a_{11}+a_{22}+\cdots+a_{nn}.
$$
You can also declare operator names for use with limits.
\define\res{\operatornamewithlimits{Res}}
$$
\res_{x=0}\frac{f(x)}{x}
$$
If $\res_{x=0} f(x)/x$, \dots
\bye
[-- Attachment #2: operators.dvi --]
[-- Type: application/octet-stream, Size: 1508 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-09-16 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-16 18:34 Sample of the day ---Operator names David Arnold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).