Skip to content

Commit ff46826

Browse files
authored
docs: fix C include headers in stats/base/dists/traingular/logcdf/README.md
PR-URL: #10954 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 8085ec9 commit ff46826

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/triangular/logcdf

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/triangular/logcdf/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ for ( i = 0; i < 25; i++ ) {
181181
### Usage
182182

183183
```c
184-
#include "stdlib/stats/base/dists/geometric/logcdf.h"
184+
#include "stdlib/stats/base/dists/triangular/logcdf.h"
185185
```
186186

187-
#### stdlib_base_dists_geometric_logcdf( x, a, b, c )
187+
#### stdlib_base_dists_triangular_logcdf( x, a, b, c )
188188

189189
Evaluates the natural logarithm of the [cumulative distribution function][cdf] (CDF) for a [triangular][triangular-distribution] distribution with parameters `a` (lower limit), `b` (upper limit), and `c` (mode).
190190

191191
```c
192-
double y = stdlib_base_dists_geometric_logcdf( 0.5, -1.0, 1.0, 0.0 );
192+
double y = stdlib_base_dists_triangular_logcdf( 0.5, -1.0, 1.0, 0.0 );
193193
// returns ~-0.134
194194
```
195195

@@ -201,7 +201,7 @@ The function accepts the following arguments:
201201
- **c**: `[in] double` mode.
202202

203203
```c
204-
double stdlib_base_dists_geometric_logcdf( const double x, const double a, const double b, const double c );
204+
double stdlib_base_dists_triangular_logcdf( const double x, const double a, const double b, const double c );
205205
```
206206
207207
</section>

0 commit comments

Comments
 (0)