Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does anyone knows a function in Sage equivalent to Mathematica Chop function?

Does anyone know a function in Sage equivalent to Mathematica _Chop()_ function (http://reference.wolfram.com/language/ref/Chop.html)? I couldn't find any.

In fact, I would like to drop the imaginary parts that are close to zero of complex polynomial coefficients.

This shouldn't be difficult to implement but is something that I use a lot, it is strange not find an implementation.

Cordially

click to hide/show revision 2
None

Does anyone knows a function in Sage equivalent to Mathematica Chop function?

Does anyone know a function in Sage equivalent to Mathematica _Chop()_ function (http://reference.wolfram.com/language/ref/Chop.html)? ( http://reference.wolfram.com/language/ref/Chop.html )? I couldn't find any.

In fact, I would like to drop the imaginary parts that are close to zero of complex polynomial coefficients.

This shouldn't be difficult to implement but is something that I use a lot, it is strange not find an implementation.

Cordially

Does anyone knows a function in Sage equivalent to Mathematica Chop function?

Does anyone know a function in Sage equivalent to Mathematica _Chop()_ function ( http://reference.wolfram.com/language/ref/Chop.html )? I couldn't find any.

In fact, I would like to drop the imaginary parts that are close to zero of complex polynomial coefficients.

This shouldn't be difficult to implement but is something that I use a lot, it is strange not find an implementation.

Cordially