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