#include "EIG.h"
#include "fEIG.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
DEFUN_DLD (eig, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{lambda} =} eig (@var{A})\n\ @deftypefnx {Loadable Function} {@var{lambda} =} eig (@var{A}, @var{B})\n\ @deftypefnx {Loadable Function} {[@var{V}, @var{lambda}] =} eig (@var{A})\n\ @deftypefnx {Loadable Function} {[@var{V}, @var{lambda}] =} eig (@var{A}, @var{B})\n\ Compute the eigenvalues and eigenvectors of a matrix.\n\ \n\ Eigenvalues are computed in a several step process which begins with a\n\ Hessenberg decomposition, followed by a Schur@tie{}decomposition, from which\n\ the eigenvalues are apparent. The eigenvectors, when desired, are computed\n\ by further manipulations of the Schur@tie{}decomposition.\n\ \n\ The eigenvalues returned by @code{eig} are not ordered.\n\ @seealso{eigs, svd}\n\ @end deftypefn") |
DEFUN_DLD | ( | eig | , | |
args | , | |||
nargout | ||||
) |
Definition at line 36 of file eig.cc.
References octave_value::columns(), octave_value::complex_matrix_value(), d, EIG::eigenvalues(), FloatEIG::eigenvalues(), EIG::eigenvectors(), FloatEIG::eigenvectors(), empty_arg(), error_state, octave_value::float_complex_matrix_value(), octave_value::float_matrix_value(), gripe_square_matrix_required(), gripe_wrong_type_arg(), octave_value::is_double_type(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::matrix_value(), print_usage(), and octave_value::rows().