Mercurial > octave
comparison scripts/special-matrix/vander.m @ 3426:f8dde1807dee
[project @ 2000-01-13 08:40:00 by jwe]
author | jwe |
---|---|
date | Thu, 13 Jan 2000 08:40:53 +0000 |
parents | ae7adbb591e8 |
children | f49111e2d8a4 |
comparison
equal
deleted
inserted
replaced
3425:8625164a0a39 | 3426:f8dde1807dee |
---|---|
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} vander (@var{c}) | 21 ## @deftypefn {Function File} {} vander (@var{c}) |
22 ## Return the Vandermonde matrix whose next to last column is @var{c}. | 22 ## Return the Vandermonde matrix whose next to last column is @var{c}. |
23 ## | 23 ## |
24 ## A Vandermonde matrix has the form | 24 ## A Vandermonde matrix has the form |
25 ## @iftex | 25 ## @iftex |
26 ## @tex | 26 ## @tex |
27 ## $$ | 27 ## $$ |
28 ## \left[\matrix{c_0^n & \ldots & c_0^2 & c_0 & 1\cr | 28 ## \left[\matrix{c_0^n & \ldots & c_0^2 & c_0 & 1\cr |
31 ## c_n^n & \ldots & c_n^2 & c_n & 1}\right]. | 31 ## c_n^n & \ldots & c_n^2 & c_n & 1}\right]. |
32 ## $$ | 32 ## $$ |
33 ## @end tex | 33 ## @end tex |
34 ## @end iftex | 34 ## @end iftex |
35 ## @ifinfo | 35 ## @ifinfo |
36 ## | 36 ## |
37 ## @example | 37 ## @example |
38 ## @group | 38 ## @group |
39 ## c(0)^n ... c(0)^2 c(0) 1 | 39 ## c(0)^n ... c(0)^2 c(0) 1 |
40 ## c(1)^n ... c(1)^2 c(1) 1 | 40 ## c(1)^n ... c(1)^2 c(1) 1 |
41 ## . . . . | 41 ## . . . . |
42 ## . . . . | 42 ## . . . . |
43 ## . . . . | 43 ## . . . . |
44 ## | 44 ## |
45 ## c(n)^n ... c(n)^2 c(n) 1 | 45 ## c(n)^n ... c(n)^2 c(n) 1 |
46 ## @end group | 46 ## @end group |
47 ## @end example | 47 ## @end example |
48 ## @end ifinfo | 48 ## @end ifinfo |
49 ## @end deftypefn | 49 ## @end deftypefn |