numpy.vander()
numpy.vander
-
numpy.vander(x, N=None, increasing=False)
[source] -
Generate a Vandermonde matrix.
The columns of the output matrix are powers of the input vector. The order of the powers is determined by the
increasing
boolean argument. Specifically, whenincreasing
is False, thei
-th output column is the input vector raised element-wise to the power ofN - i - 1
. Such a matrix with a geometric progression in each row is named for Alexandre- Theophile Vandermonde.Parameters:<