# scipy 1.18.1 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Return the powers for each monomial in a polynomial.

    Parameters
    ----------
    ndim : int
        Number of variables in the polynomial.
    degree : int
        Degree of the polynomial.

    Returns
    -------
    (nmonos, ndim) int ndarray
        Array where each row contains the powers for each variable in a
        monomial.

    
=== parse numpydoc
short_description: 'Return the powers for each monomial in a polynomial.'
blank_after_short_description: True
blank_after_long_description: False
style: numpydoc
- DocstringParam
  description: 'Number of variables in the polynomial.'
  kind: param
  key: 'param'
  arg_name: 'ndim'
  type_name: 'int'
  is_optional: False
- DocstringParam
  description: 'Degree of the polynomial.'
  kind: param
  key: 'param'
  arg_name: 'degree'
  type_name: 'int'
  is_optional: False
- DocstringReturns
  description: |
    Array where each row contains the powers for each variable in a
    monomial.
  kind: returns
  key: 'returns'
  type_name: '(nmonos, ndim) int ndarray'
  is_generator: False
=== detect
numpydoc
=== compose numpydoc
Return the powers for each monomial in a polynomial.

Parameters
----------
ndim : int
    Number of variables in the polynomial.
degree : int
    Degree of the polynomial.

Returns
-------
(nmonos, ndim) int ndarray
    Array where each row contains the powers for each variable in a
    monomial.
