Skip to content

Commit 1d4ce89

Browse files
committed
add more info on cross-truncation
1 parent d805835 commit 1d4ce89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

chaospy/expansion/frontend.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ def generate_expansion(
8080
Use hyperbolic cross truncation scheme to reduce the number of
8181
terms in expansion. only include terms where the exponents ``K``
8282
satisfied the equation
83-
``order >= sum(K**(1/cross_truncation))**cross_truncation``.
83+
``order >= sum(K**(1/cross_truncation))**cross_truncation``. Set to
84+
``np.inf`` to include all terms in a tensor product of marinalized
85+
expansion. Set to 0, to not include any cross terms.
8486
8587
Returns:
8688
(numpoly.ndpoly, numpy.ndarray):

0 commit comments

Comments
 (0)