-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #17659: make symbolic series subclass of Expression
Making `Expression.series` create `SymbolicSeries` (a subclass of `Expression`) and moving the series code into a separate file `series.pyx` * reflects the fact that expressions and series don't commute * allows upcoming fixes that don't clutter `Expression` methods with `if ex.is_a_series():` * makes for better documentation via having a `Symbolic Series` ref man page In refactoring language this is "replace conditional with polymorphism". #16203, #17400, and #17402 depend on this. URL: http://trac.sagemath.org/17659 Reported by: rws Ticket author(s): Ralf Stephan Reviewer(s): Vincent Delecroix
- Loading branch information
Showing
6 changed files
with
271 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from sage.symbolic.expression cimport Expression | ||
|
||
cdef class SymbolicSeries(Expression): | ||
pass |
Oops, something went wrong.