3421
|
1 ## Copyright (C) 1998 Auburn University. All rights reserved. |
|
2 ## |
3426
|
3 ## This file is part of Octave. |
|
4 ## |
|
5 ## Octave is free software; you can redistribute it and/or modify it |
|
6 ## under the terms of the GNU General Public License as published by the |
|
7 ## Free Software Foundation; either version 2, or (at your option) any |
|
8 ## later version. |
3421
|
9 ## |
3426
|
10 ## Octave is distributed in the hope that it will be useful, but WITHOUT |
|
11 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
3421
|
13 ## for more details. |
3426
|
14 ## |
|
15 ## You should have received a copy of the GNU General Public License |
|
16 ## along with Octave; see the file COPYING. If not, write to the Free |
|
17 ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. |
3421
|
18 |
|
19 ## -*- texinfo -*- |
|
20 ## @deftypefn {Function File } { @var{x} =} qzval (@var{A}, @var{B}) |
3426
|
21 ## Compute generalized eigenvalues of the matrix pencil |
3421
|
22 ## @ifinfo |
|
23 ## @example |
|
24 ## (A - lambda B). |
|
25 ## @end example |
|
26 ## @end ifinfo |
|
27 ## @iftex |
|
28 ## @tex |
|
29 ## $(A - \lambda B)$. |
|
30 ## @end tex |
|
31 ## @end iftex |
3426
|
32 ## |
3421
|
33 ## @var{A} and @var{B} must be real matrices. |
3426
|
34 ## |
3421
|
35 ## @strong{Note} @code{qzval} is obsolete; use @code{qz} instead. |
|
36 ## @end deftypefn |
3426
|
37 |
3421
|
38 ## Author: A. S. Hodel <a.s.hodel@eng.auburn.edu> |
|
39 ## Created: July 1998 |
|
40 |
|
41 function lam = qzval (A, B) |
|
42 |
|
43 warning("qzval is obsolete; calling qz instead") |
|
44 lam = qz(A,B); |
|
45 |
|
46 endfunction |