You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [`ad7c388`](https://github.com/stdlib-js/stdlib/commit/ad7c3880af37bccd159b6623f92d4b0212eaf0db) - add C implementation for `stats/base/dists/t/logpdf` [(#3934)](https://github.com/stdlib-js/stdlib/pull/3934)
@@ -981,6 +1015,7 @@ A total of 12 people contributed to this release. Thank you to the following con
981
1015
982
1016
<details>
983
1017
1018
+
- [`ad7c388`](https://github.com/stdlib-js/stdlib/commit/ad7c3880af37bccd159b6623f92d4b0212eaf0db) - **feat:** add C implementation for `stats/base/dists/t/logpdf` [(#3934)](https://github.com/stdlib-js/stdlib/pull/3934) _(by Aadish Jain, Philipp Burckhardt)_
984
1019
- [`d7f5b56`](https://github.com/stdlib-js/stdlib/commit/d7f5b56fc072abf167bd5eb5e2163833715f2211) - **feat:** add C implementation of `stats/base/dists/rayleigh/cdf` [(#3931)](https://github.com/stdlib-js/stdlib/pull/3931) _(by Vinit Pandit, Philipp Burckhardt)_
985
1020
- [`bb09b18`](https://github.com/stdlib-js/stdlib/commit/bb09b185f74d2fc05254a2f164119ca05054887f) - **feat:** add C implementation for `stats/base/dists/beta/variance` [(#3919)](https://github.com/stdlib-js/stdlib/pull/3919) _(by Vivek maurya, Philipp Burckhardt)_
986
1021
- [`0e2d82a`](https://github.com/stdlib-js/stdlib/commit/0e2d82a0e55b279370365e56b765922321a69e05) - **feat:** add C implementation for `stats/base/dists/poisson/variance` [(#3933)](https://github.com/stdlib-js/stdlib/pull/3933) _(by Aayush Khanna, Philipp Burckhardt, stdlib-bot)_
Copy file name to clipboardExpand all lines: base/dists/t/logpdf/README.md
+95Lines changed: 95 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,101 @@ for ( i = 0; i < 10; i++ ) {
142
142
143
143
<!-- /.examples -->
144
144
145
+
<!-- C interface documentation. -->
146
+
147
+
* * *
148
+
149
+
<sectionclass="c">
150
+
151
+
## C APIs
152
+
153
+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
154
+
155
+
<sectionclass="intro">
156
+
157
+
</section>
158
+
159
+
<!-- /.intro -->
160
+
161
+
<!-- C usage documentation. -->
162
+
163
+
<sectionclass="usage">
164
+
165
+
### Usage
166
+
167
+
```c
168
+
#include"stdlib/stats/base/dists/t/logpdf.h"
169
+
```
170
+
171
+
#### stdlib_base_dists_t_logpdf( x, a, b )
172
+
173
+
Evaluates the natural logarithm of the [PDF][pdf] for a [Student's t][t-distribution] distribution with degree of freedom `v`.
174
+
175
+
```c
176
+
double out = stdlib_base_dists_t_logpdf( 0.5, 1.0 );
177
+
// returns ~-1.368
178
+
```
179
+
180
+
The function accepts the following arguments:
181
+
182
+
-**x**: `[in] double` input value.
183
+
-**v**: `[in] double` degrees of freedom.
184
+
185
+
```c
186
+
doublestdlib_base_dists_t_logpdf( const double x, const double v );
187
+
```
188
+
189
+
</section>
190
+
191
+
<!-- /.usage -->
192
+
193
+
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
0 commit comments