Debian Codegraph @

TODO

raw
1 LUdivine-PLUQ
2 * Clean up of all base cases
3 * Only one routine, and automated switch to all implementations
4
5 FTRTRI/FTRTRM
6 * Optimize base cases
7
8 Conversion double -> float for small moduli:
9 * should be done in each routine, not only gemm
10
11
12 Simplification of helpers:
13 * currently all mmhelpers have Amax,Amin,Bmax,Bmin, Cmax,Cmin,Outmax,
14 Outmin, and all related features for delayed reductions.
15 * this is not suited for other FieldTraits (say Generic,
16 Multiprec,...)
17 TODO:
18 - write a by-default minimal mmhelper
19 - specialize the mmhelper with delayedModular trait with all the
20 machinery
21 * The NeedPreaddreduction system is error-prone and ugly:
22 ==> introduce AddHelpers
23 - carry max min outmax outmin info when used with a DelayedModular
24 FieldTraits
25 - decide when a mod is required in this case
26 - empty otherwise.
27 - Two bool params: add/sub switch, and inplace switch.
28
29 CharPoly: How to handle polynomial arithmetic
30 * Option 1: generic representation, fixed Poly1Dom domain type, built when needed
31 - store polynomials as template type Polynomial which is assumed to
32 provide basic std::vector<Element> methods;
33 - build a Poly1Dom when arithmetic needs to be done
34 - convert Polynomials back and forth to a givvector
35 -> no genericity wrt Polynomial representation and domain
36 * Option 2: generic domain type, generic representation, built when
37 needed
38 - pass the type PolRing as template argument (unused in the signature)
39 - requires to explicitly specify the template arg list
40 -> incompatible with the solution trait system (generates
41 partial template specializations)
42 * Option 3: generic domain type, generic representation, built only once
43 - pass the PolRing object along all functions that ultimately need it
44 -> heavy impact on sage & LinBox functions API (ex
45 LinBox::charpoly(PolDom, P, A), FFPACK::CharPoly(PolDom, N, P, A, lda))
46 * Option 4: let polynomials know their domain
47 - add a reference to the PolDom in the Polynomial object (class Poly inherit from givvector and adds a )
48 * Option 5: Option 3 for FFPACK and 4 for LinBox
49 - FFPACK: use the usual polynomail/PolRing interface defined in Givaro (Polynomials do not know their domains)
50 - LinBox: wrap Givaro Polynomials and PolRing such that a Polynomial knows its Domain -> allow charpoly (P,A)