Skip to content

Commit f51822e

Browse files
authored
Update README.md
1 parent fe3b2e7 commit f51822e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
https://github.com/udexon/symengine/blob/master/benchmarks/expandv.cpp
44

5+
<img src="https://github.com/udexon/symengine/tree/master/SymForth/SymForth_expandv.png" width=600>
6+
7+
8+
```
9+
sm_string: x sym: y sym: add: 2 3 + pow: 3 5 +
10+
sym: TOS x
11+
Expanding: x
12+
sym: TOS y
13+
Expanding: y
14+
In add: Expanding: x + y
15+
+: 5 3 2 5
16+
In pow:
17+
Expanding a: x + y
18+
Expanding: (x + y)**5
19+
0ms
20+
number of terms: 6
21+
Expanding r: 5*x*y**4 + 10*x**2*y**3 + 10*x**3*y**2 + 5*x**4*y + x**5 + y**5
22+
+: 8 5 3 8
23+
mystack TOS: 8
24+
(base) hongwu@hongwu-Dell-System-XPS-15Z:~/devel/2020/symengine/symengine-master/Build/benchmarks$ ./expandv x sym: y sym: add: 2 3 + pow: 3 5 +
25+
```
26+
527

628
Original README.md:
729

0 commit comments

Comments
 (0)