Skip to content

Commit

Permalink
Update TotalDegreeBasis.py
Browse files Browse the repository at this point in the history
The Description was switched with TensorBasis
  • Loading branch information
NovakLBUT authored Apr 9, 2022
1 parent 02c6492 commit 7dc1927
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class TotalDegreeBasis(PolynomialBasis):

def __init__(self, distributions: Union[Distribution, list[Distribution]], max_degree: int, hyperbolic: float = 1):
"""
Create tensor-product polynomial basis.
The size is equal to :code:`(max_degree+1)**n_inputs` (exponential complexity).
Create total-degree polynomial basis.
The size is equal to :code:`(total_degree+n_inputs)!/(total_degree!*n_inputs!)` (polynomial complexity).
:param distributions: List of univariate distributions.
:param max_degree: Maximum polynomial degree of the 1D chaos polynomials.
Expand Down

0 comments on commit 7dc1927

Please sign in to comment.