rsionadded:: 1.3.0 References ---------- .. [1] M. Fiedler, " A note on companion matrices", Linear Algebra and its Applications, 2003, :doi:`10.1016/S0024-3795(03)00548-2` Examples -------- >>> import numpy as np >>> from scipy.linalg import fiedler_companion, eigvals >>> p = np.poly(np.arange(1, 9, 2)) # [1., -16., 86., -176., 105.] >>> fc = fiedler_companion(p) >>> fc array([[ 16., -86., 1., 0.], [ 1., 0., 0., 0.], [ 0., 176., 0., -105.], [ 0., 1., 0., 0.]]) >>> eigvals(fc) array([7.+0.j, 5.+0.j, 3.+0.j, 1.+0.j]) r-