linalg(deprecated)/vandermonde - Maple Help

linalg(deprecated)

 vandermonde
 create a Vandermonde matrix

 Calling Sequence vandermonde(L)

Parameters

 L - list of expressions

Description

 • Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[VandermondeMatrix], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The function vandermonde(L) returns the Vandermonde matrix formed from the elements of the list.  This square matrix has as its (i,j)th entry ${L}_{i}^{j-1}$.
 • The command with(linalg,vandermonde) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[VandermondeMatrix], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $\mathrm{vandermonde}\left(\left[1,2,3,4\right]\right)$
 $\left[\begin{array}{cccc}{1}& {1}& {1}& {1}\\ {1}& {2}& {4}& {8}\\ {1}& {3}& {9}& {27}\\ {1}& {4}& {16}& {64}\end{array}\right]$ (1)
 > $\mathrm{vandermonde}\left(\left[x,y,z\right]\right)$
 $\left[\begin{array}{ccc}{1}& {x}& {{x}}^{{2}}\\ {1}& {y}& {{y}}^{{2}}\\ {1}& {z}& {{z}}^{{2}}\end{array}\right]$ (2)