Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use `fixorder` again, to avoid the if's used in `getindex` The use of those if's is at the heart of the problem reported in [#102]. The idea was to avoid fixorder by setting the coefficients that are not defined to zero. This involves if's that killed performance. Also, fixorder was corrected to return a copy of the coefficients to avoid side effects. `max_order` is not anylonger needed, so it is deleted. * Fix tests and fateman.jl * Tiny correction to fixorder * Improvements on allocations * Inline mul! and div! methods * Use a modified power_by_squaring, and inline the (mutating) recursion functions * Inline fixorder * Inlining div!
- Loading branch information
Showing
11 changed files
with
151 additions
and
137 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
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
Oops, something went wrong.