|
On 08.11.11 12:58, Pantelis S wrote:
> I guess MuPad uses symbolic algorithms to calculate the minimum polynomial - is there a function to do the same numerically?
I don't think so. You probably could create something starting from
polyfun's poly.m (which computes the characteristic polynomial) by
checking the kernel before adding in another multiplicity of an
Eigenvalue, but off-hand I'm not sure if that is numerically stable.
> If not, is there a way to invoke linalg::minpoly from the workspace.
feval(symengine, 'expr', feval(symengine, 'linalg::minpoly', A, 'x'))
Kind of ugly, I know.
Christopher
|