Changes between Initial Version and Version 1 of Ticket #23417


Ignore:
Timestamp:
12/19/17 07:40:56 (4 years ago)
Author:
rws
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23417

    • Property Milestone changed from sage-8.1 to sage-8.2
  • Ticket #23417 – Description

    initial v1  
    33return sum(b * arg**a for a, b in enumerate(pol))
    44}}}
    5 Due to `GiNaC::add::eval` mechanics it has quadratic performance, fortunately eased by smart pointer operations. Much better however would be to have the iterator add to an `GiNaC::epvector` and construct the `GiNaC::add` from that. The obvious internal Pynac code just needs an interface in `libs/pynac` and this then used by `legendre_P::eval_pari`.
     5Due to `GiNaC::add::eval` mechanics it has quadratic performance, fortunately eased by smart pointer operations. Much better however would be to have the iterator add to an `GiNaC::exvector` and construct the `GiNaC::add` from that. There is `GExVector.push_back` and `g_add_construct` in the Pynac interface already available.