Skip to content

Commit e799485

Browse files
authored
docs: revert note removal
Signed-off-by: Athan <[email protected]>
1 parent d8f760f commit e799485

File tree

1 file changed

+1
-0
lines changed
  • lib/node_modules/@stdlib/stats/base/smeanpw

1 file changed

+1
-0
lines changed

lib/node_modules/@stdlib/stats/base/smeanpw/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ var v = smeanpw.ndarray( 4, x, 2, 1 );
132132
## Notes
133133

134134
- If `N <= 0`, both functions return `NaN`.
135+
- 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.
135136

136137
</section>
137138

0 commit comments

Comments
 (0)