File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
lib/node_modules/@stdlib/stats/base/dists/pareto-type1/mean Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11/**
22* @license Apache-2.0
33*
4- * Copyright (c) 2024 The Stdlib Authors.
4+ * Copyright (c) 2018 The Stdlib Authors.
55*
66* Licensed under the Apache License, Version 2.0 (the "License");
77* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ var addon = require( './../src/addon.node' );
2626// MAIN //
2727
2828/**
29- * Evaluates the mean for a Pareto Type I distribution with shape parameter `alpha` and scale parameter `beta`.
29+ * Returns the expected value for a Pareto Type I distribution with shape parameter `alpha` and scale parameter `beta`.
3030*
3131* @private
3232* @param {number } alpha - shape parameter
3333* @param {number } beta - scale parameter
34- * @returns {number } evaluated mean
34+ * @returns {number } expected value
3535*
3636* @example
3737* var y = mean( 2.0, 1.0 );
@@ -48,10 +48,6 @@ var addon = require( './../src/addon.node' );
4848* @example
4949* var y = mean( 2.0, NaN );
5050* // returns NaN
51- *
52- * @example
53- * var y = mean( 0.5, 1.0 );
54- * // returns NaN
5551*/
5652function mean ( alpha , beta ) {
5753 return addon ( alpha , beta ) ;
You can’t perform that action at this time.
0 commit comments