File: tree.tex

package info (click to toggle)
cadabra2 2.4.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 78,732 kB
  • sloc: ansic: 133,450; cpp: 92,064; python: 1,530; javascript: 203; sh: 184; xml: 182; objc: 53; makefile: 51
file content (30 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\cdbalgorithm{tree}{}

Display the internal tree form of a given
expression. Can be used on a single expression or on an entire tree:
\begin{screen}{1,2,3,10}
A_{m n}:
B_{m n}:
@tree(1);
(1): \history  (0)
  1:{\expression}  (1)
  2:  {A}  (2)
  3:    _{m}  (3)
  4:    _{n}  (3)
  5:  \asymimplicit  (2)
@tree;
(1): {\expression}  (1)
  1:  {A}  (2)
  2:    _{m}  (3)
  3:    _{n}  (3)
  4:  \asymimplicit  (2)

(2): {\expression}  (1)
  1:  {B}  (2)
  2:    _{m}  (3)
  3:    _{n}  (3)
  4:  \asymimplicit  (2)
\end{screen}
Most expressions lead to extremely lengthy output, so it is useful to
redirect it to a file using output redirection.