Skip to content

Commit 9e55ab1

Browse files
committed
Add ProbabilityArray type definition
1 parent 996a97f commit 9e55ab1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/docs/jsdoc/typedefs/arrays.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,9 @@
101101
*
102102
* @typedef {Array} EmptyArray
103103
*/
104+
105+
/**
106+
* A numeric array in which the sum of all elements is `1`.
107+
*
108+
* @typedef {NumericArray} ProbabilityArray
109+
*/

0 commit comments

Comments
 (0)