cupy.vander#

cupy.vander(x, N=None, increasing=False)[source]#

Returns a Vandermonde matrix.

Parameters
  • x (array-like) – 1-D array or array-like object.

  • N (int, optional) – Number of columns in the output. N = len(x) by default.

  • increasing (bool, optional) – Order of the powers of the columns. If True, the powers increase from right to left, if False (the default) they are reversed.

Returns

A Vandermonde matrix.

Return type

cupy.ndarray

See also

numpy.vander()