[Gambas-user] gb.gsl: Polynomial arithmetic / gb.flint
Brought to you by:
gambas
|
From: Tobias B. <ta...@gm...> - 2014-11-28 11:09:06
|
Hi Benoit, the Polynomial class in gb.gsl does not support all the arithmetic operations I'm going to need. I'd like to multiply two polynomials and to divide a polynomial by a (non-zero) scalar. I just saw that GSL doesn't implement polynomial arithmetic at all and you wrote the addition and subtraction functions by hand... What do you think about the FLINT library? I just glanced at its documentation and it looks like a treasure chest, and already pretty object-oriented. I'll add gb.flint somewhere near the top of my TODO list... And out of curiosity: for the polynomials with real or complex coefficients, there is an euclidean division operation defined. The GB_OPERATOR_DESC structure has no entry for the MOD operator, or does it? If not, there is no chance of doing euclidean division via operators? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk |