-
-
January 11, 2025 at 8:06 amfdtsaidSubscriberIn
Scade Language Reference 8.5 Operator Application and Higher-Order Patterns
, it illustrated that the usage offoldw
:idx, acc = (foldw op << size >> if cond0)(acc0, A1,...,An)is equivalent to particular form ofmapfoldw
:idx, _, acc = (mapfoldw 1 op << size >> if cond0)(acc0, A1, ..., An)Should it be the following form instead?idx, _, acc = (mapfoldw 1 op << size >> if cond0 default ())(acc0, A1, ..., An)Because the syntax definition ofmapfoldw
isoperator ::= (iterator_mw operator << size >> if expr default expr)iterator_mw ::= mapfoldw [[ INTEGER ]]
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
1406
-
599
-
591
-
550
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.