9prady9 · GitHub

Conversation

mark-poscablo

9prady9

\snippet test/scan.cpp ex_accum_1D

For 2D arrays (and higher dimensions), you can specify the dimension along which
the cumulative sum will be performed. If none is specified, it will be performed

For 2D arrays (and higher dimensions), you can specify the dimension along which
the cumulative sum will be performed. If none is specified, it will be performed
along the first dimension (0):
\param[in] in is the input array
\param[in] dim The dimension along which exclusive sum is performed
\return the output containing exclusive sums of the input
\param[in] dim is the dimension along which inclusive sum is performed
\param[out] out will contain inclusive sums of the input
\param[in] in is the input array
\param[in] dim The dimension along which exclusive sum is performed
\param[in] dim is the dimension along which inclusive sum is performed

mark-poscablo

…tive sum

@mark-poscablo


For 2D arrays (and higher dimensions), you can specify the dimension along which
the cumulative sum will be performed. If none is specified, it will be performed
along the first dimension (0):

@9prady9

@mark-poscablo

Read the original on github.com ↗