Skip to content

Commit 97218a1

Browse files
committed
docs: fix TSDoc example code return annotations
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent 445837e commit 97218a1

File tree

27 files changed

+73
-73
lines changed

27 files changed

+73
-73
lines changed

lib/node_modules/@stdlib/stats/base/dists/beta/quantile/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ interface Quantile {
124124
* // returns ~0.713
125125
*
126126
* y = myQuantile( 0.4 );
127-
* // returns ~0.5
127+
* // returns ~0.433
128128
*/
129129
declare var quantile: Quantile;
130130

lib/node_modules/@stdlib/stats/base/dists/betaprime/logcdf/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ interface LogCDF {
121121
* var mylogcdf = logcdf.factory( 0.5, 0.5 );
122122
*
123123
* var y = mylogcdf( 0.8 );
124-
* // returns ~-0.766
124+
* // returns ~-0.767
125125
*
126126
* y = mylogcdf( 0.3 );
127-
* // returns ~-1.142
127+
* // returns ~-1.143
128128
*/
129129
declare var logcdf: LogCDF;
130130

lib/node_modules/@stdlib/stats/base/dists/cauchy/docs/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ interface Namespace {
9898
* var mylogcdf = ns.logcdf.factory( 1.5, 3.0 );
9999
*
100100
* y = mylogcdf( 1.0 );
101-
* // returns ~-0.805
101+
* // returns ~-0.804
102102
*/
103103
logcdf: typeof logcdf;
104104

@@ -112,12 +112,12 @@ interface Namespace {
112112
*
113113
* @example
114114
* var y = ns.logpdf( 2.0, 0.0, 1.0 );
115-
* // returns ~-2.765
115+
* // returns ~-2.754
116116
*
117117
* var mylogpdf = ns.logpdf.factory( 10.0, 2.0 );
118118
*
119119
* y = mylogpdf( 10.0 );
120-
* // returns ~-1.839
120+
* // returns ~-1.838
121121
*/
122122
logpdf: typeof logpdf;
123123

@@ -181,9 +181,9 @@ interface Namespace {
181181
*
182182
* @example
183183
* var y = ns.pdf( 2.0, 0.0, 1.0 );
184-
* // returns ~0.063
184+
* // returns ~0.064
185185
*
186-
* var mypdf = factory( 10.0, 2.0 );
186+
* var mypdf = ns.pdf.factory( 10.0, 2.0 );
187187
*
188188
* y = mypdf( 10.0 );
189189
* // returns ~0.159

lib/node_modules/@stdlib/stats/base/dists/cauchy/logcdf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ interface LogCDF {
102102
* var mylogcdf = logcdf.factory( 1.5, 3.0 );
103103
*
104104
* y = mylogcdf( 1.0 );
105-
* // returns ~-0.805
105+
* // returns ~-0.804
106106
*/
107107
declare var logcdf: LogCDF;
108108

lib/node_modules/@stdlib/stats/base/dists/cauchy/pdf/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ interface PDF {
102102
*
103103
* @example
104104
* var y = pdf( 2.0, 0.0, 1.0 );
105-
* // returns ~0.063
105+
* // returns ~0.064
106106
*
107-
* var mypdf = factory( 10.0, 2.0 );
107+
* var mypdf = pdf.factory( 10.0, 2.0 );
108108
*
109109
* y = mypdf( 10.0 );
110110
* // returns ~0.159

lib/node_modules/@stdlib/stats/base/dists/chisquare/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ interface Namespace {
138138
* var mylogpdf = ns.logpdf.factory( 6.0 );
139139
*
140140
* y = mylogpdf( 3.0 );
141-
* // returns ~-2.071
141+
* // returns ~-2.075
142142
*/
143143
logpdf: typeof logpdf;
144144

lib/node_modules/@stdlib/stats/base/dists/chisquare/logpdf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ interface LogPDF {
100100
* var mylogpdf = logpdf.factory( 6.0 );
101101
*
102102
* y = mylogpdf( 3.0 );
103-
* // returns ~-2.071
103+
* // returns ~-2.075
104104
*/
105105
declare var logpdf: LogPDF;
106106

lib/node_modules/@stdlib/stats/base/dists/erlang/logpdf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ interface LogPDF {
122122
*
123123
* var myLogPDF = logpdf.factory( 6, 7.0 );
124124
* y = myLogPDF( 7.0 );
125-
* // returns ~-1.864
125+
* // returns ~-32.382
126126
*/
127127
declare var logpdf: LogPDF;
128128

lib/node_modules/@stdlib/stats/base/dists/erlang/pdf/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ interface PDF {
122122
*
123123
* var myPDF = pdf.factory( 6, 7.0 );
124124
* y = myPDF( 7.0 );
125-
* // returns ~0.155
125+
* // returns ~8.639e-15
126126
*/
127127
declare var pdf: PDF;
128128

lib/node_modules/@stdlib/stats/base/dists/frechet/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ interface Namespace {
163163
* // returns ~-0.216
164164
*
165165
* y = mylogcdf( 7.0 );
166-
* // returns ~-3.381
166+
* // returns ~-3.375
167167
*/
168168
logcdf: typeof logcdf;
169169

@@ -318,17 +318,17 @@ interface Namespace {
318318
*
319319
* @example
320320
* var y = ns.pdf( 10.0, 2.0, 3.0, 5.0 );
321-
* // returns ~0.698
321+
* // returns ~0.1
322322
*
323323
* y = ns.pdf( 0.0, 2.0, 3.0, 2.0 );
324324
* // returns 0.0
325325
*
326326
* var mypdf = ns.pdf.factory( 3.0, 3.0, 5.0 );
327327
* y = mypdf( 10.0 );
328-
* // returns ~0.806
328+
* // returns ~0.104
329329
*
330330
* y = mypdf( 7.0 );
331-
* // returns ~0.034
331+
* // returns ~0.173
332332
*/
333333
pdf: typeof pdf;
334334

0 commit comments

Comments
 (0)