Skip to content

Commit 75ea2db

Browse files
committed
add note
1 parent 48f5984 commit 75ea2db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/ndarray/dcusumpw

lib/node_modules/@stdlib/blas/ext/base/ndarray/dcusumpw/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ The function has the following parameters:
7777
## Notes
7878

7979
- If provided an empty one-dimensional input ndarray, the function returns the output ndarray unchanged.
80+
- In general, pairwise summation is more numerically stable than ordinary recursive summation (i.e., "simple" summation), with slightly worse performance. While not the most numerically stable summation technique (e.g., compensated summation techniques such as the Kahan–Babuška-Neumaier algorithm are generally more numerically stable), pairwise summation strikes a reasonable balance between numerical stability and performance. If either numerical stability or performance is more desirable for your use case, consider alternative summation techniques.
8081

8182
</section>
8283

0 commit comments

Comments
 (0)