Opened 6 years ago

Closed 6 years ago

# add documentation for symbolic series arithmetics

Reported by: Owned by: rws major sage-6.8 documentation Karen Kohl Ralf Stephan N/A 8bcb6a7 (Commits) 8bcb6a7104411f477ac924146c5ed36e946ffb67

### Description

It is undocumented that expressions containing series (that result from operations with them) can be "expanded" by applying `series` again.

```sage: (1/(1-x)).series(x, 3)+(1/(1+x)).series(x,3)
(1 + (-1)*x + 1*x^2 + Order(x^3)) + (1 + 1*x + 1*x^2 + Order(x^3))
sage: _.series(x,3)
2 + 2*x^2 + Order(x^3)
sage: (1/(1-x)).series(x, 3)*(1/(1+x)).series(x,3)
(1 + (-1)*x + 1*x^2 + Order(x^3))*(1 + 1*x + 1*x^2 + Order(x^3))
sage: _.series(x,3)
1 + 1*x^2 + Order(x^3)
```

GiNaC quote: "...if you want to work with series, i.e. multiply two series, you need to call the method ex::series again to convert it to a series object with the usual structure (expansion plus order term)."

### comment:1 Changed 6 years ago by ktkohl

• Branch set to u/ktkohl/add_documentation_for_symbolic_series_arithmetics

### comment:2 Changed 6 years ago by ktkohl

• Authors set to Karen Kohl
• Commit set to 8bcb6a7104411f477ac924146c5ed36e946ffb67
• Status changed from new to needs_review

New commits:

 ​8bcb6a7 `added examples for re-expanding combined series`

### comment:3 Changed 6 years ago by rws

• Reviewers set to Ralf Stephan
• Status changed from needs_review to positive_review

Looks fine, many thanks.

### comment:4 Changed 6 years ago by vbraun

• Branch changed from u/ktkohl/add_documentation_for_symbolic_series_arithmetics to 8bcb6a7104411f477ac924146c5ed36e946ffb67
• Resolution set to fixed
• Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.