Thomas Baruchel wrote:
>
> I would be very happy to have this package included in Fricas; I began to
> clean the code according to your comments.
> I also added a maximum number of iterations (in order to avoid infinite
> loops when requested precision is higher than current
> number of digits).
A nice to have featue would be automatic control of precision,
so that computations use adequate number of digits (not too
much and not too little).
> Would you like me to include in my package an "algdep" function for
> guessing a polynomial from a numerical root (if any)?
Yes, it makes sense to add such function.
> I encounter some problems while tring to convert some matrices to
> Matrix(Integer) type because I need to mix
> floats and integers in the computations, and I couldn't manage to coerce a
> rounded float to an integer type!
> How can I round a float to an integer in a compiled spad code?
Like
retract(round(nf))@Integer
FriCAS interpreter when given '::' will also try to use 'retract',
but in Spad code 'retract' have to be explicit.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.