[Kst] Re: branches/work/kst/portto4/kst/src/plugins/fits
Nicolas Brisset
nicolas.brisset at free.fr
Sun Mar 20 11:57:04 CET 2011
> SVN commit 1225368 by kuemmel:
>
> Seems the idea was to use parameter = parameter.arg(index);
> But why only for 0?
> Simply return a valid string for all indexes.
OK, that looks much better now. I'm just wondering: how much effort would it be for polynoms to create a string like
[CStk Polynomial:x^0 (X71)] + [CStk Polynomial:x^1 (X72)]x + [CStk Polynomial:x^2 (X73)] x^2 with the sign correctly handled (i.e. no + -0.011940223) and x^0 and x^1 special-cased. It would be more readable than:
x^0: [CStk Polynomial:x^0 (X71)]
x^1: [CStk Polynomial:x^1 (X72)]
x^2: [CStk Polynomial:x^2 (X73)]
Nicolas
More information about the Kst
mailing list