# HG changeset patch # User Rik # Date 1345744372 25200 # Node ID e3dc9ff8e0f2619ca93db5ba79d074d0b968e350 # Parent a83b7b2f95eef833de412f3155241d8a64e1e127 polyeig.m: Use @code, not @var, macro to silence warnings from texinfo. * polyeig.m: Use @code, not @var, macro to silence warnings from texinfo. diff -r a83b7b2f95ee -r e3dc9ff8e0f2 scripts/polynomial/polyeig.m --- a/scripts/polynomial/polyeig.m Thu Aug 23 12:18:08 2012 -0400 +++ b/scripts/polynomial/polyeig.m Thu Aug 23 10:52:52 2012 -0700 @@ -18,16 +18,17 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {@var{z} =} polyeig (@var{C0}, @var{C1}, @dots{}, @var{Cl}) -## @deftypefnx {Function File} {[ @var{v}, @var{z} ] =} polyeig (@var{C0}, @var{C1}, @dots{}, @var{Cl}) +## @deftypefnx {Function File} {[@var{v}, @var{z}] =} polyeig (@var{C0}, @var{C1}, @dots{}, @var{Cl}) ## ## Solve the polynomial eigenvalue problem of degree @var{l}. ## -## Given a @var{n*n} matrix polynomial @var{C(s)} = @var{C0 + C1 s + -## @dots{} + Cl s^l} polyeig solves the eigenvalue problem (@var{C0} + -## @var{C1} + @dots{} + @var{Cl})v = 0. Note that the eigenvalues -## @var{z} are the zeros of the matrix polynomial. @var{z} is a -## @var{lxn} vector and @var{v} is a @var{(n x n)l} matrix with columns -## that correspond to the eigenvectors. +## Given an @var{n*n} matrix polynomial +## @code{@var{C}(s) = @var{C0} + @var{C1} s + @dots{} + @var{Cl} s^l} +## polyeig solves the eigenvalue problem +## @code{(@var{C0} + @var{C1} + @dots{} + @var{Cl})v = 0}. +## Note that the eigenvalues @var{z} are the zeros of the matrix polynomial. +## @var{z} is an @var{lxn} vector and @var{v} is an (@var{n} x @var{n})l matrix +## with columns that correspond to the eigenvectors. ## ## @seealso{eig, eigs, compan} ## @end deftypefn