File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
lib/node_modules/@stdlib/stats/base/dists/cosine/mean Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -154,25 +154,25 @@ for ( i = 0; i < 10; i++ ) {
154
154
### Usage
155
155
156
156
``` c
157
- #include " stdlib/stats/base/dists/arcsine/variance .h"
157
+ #include " stdlib/stats/base/dists/cosine/mean .h"
158
158
```
159
159
160
- #### stdlib_base_dists_arcsine_variance ( a, b )
160
+ #### stdlib_base_dists_cosine_mean ( a, b )
161
161
162
- Returns the variance of an arcsine distribution.
162
+ Returns the mean of an cosine distribution.
163
163
164
164
``` c
165
- double out = stdlib_base_dists_arcsine_variance( 0 .0 , 1.0 );
166
- // returns ~0.125
165
+ double out = stdlib_base_dists_cosine_mean( 2 .0 , 1.0 );
166
+ // returns 2.0
167
167
```
168
168
169
169
The function accepts the following arguments:
170
170
171
- - ** a ** : ` [in] double ` minimum support .
172
- - ** b ** : ` [in] double ` maximum support .
171
+ - ** mu ** : ` [in] double ` location parameter .
172
+ - ** s ** : ` [in] double ` scale parameter .
173
173
174
174
``` c
175
- double stdlib_base_dists_arcsine_variance ( const double a , const double b );
175
+ double stdlib_base_dists_cosine_mean ( const double mu , const double s );
176
176
```
177
177
178
178
</section>
You can’t perform that action at this time.
0 commit comments