Skip to content

Commit

Permalink
docs: add missing spaces and use full description
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter authored Jan 10, 2025
1 parent 9f9cf25 commit cf3dba8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var variance = require( '@stdlib/stats/base/dists/triangular/variance' );

#### variance( a, b, c )

Returns the [variance][variance] of a [triangular][triangular-distribution] distribution with minimum support `a`, maximum support`b`, and mode `c`.
Returns the [variance][variance] of a [triangular][triangular-distribution] distribution with minimum support `a`, maximum support `b`, and mode `c`.

```javascript
var v = variance( 0.0, 1.0, 0.8 );
Expand Down Expand Up @@ -169,7 +169,7 @@ for ( i = 0; i < 10; i++ ) {

#### stdlib_base_dists_triangular_variance( a, b, c )

Returns the variance of a triangular distribution.
Returns the [variance][variance] of a [triangular][triangular-distribution] distribution with minimum support `a`, maximum support `b`, and mode `c`.

```c
double out = stdlib_base_dists_triangular_variance( 0.0, 1.0, 0.5 );
Expand Down

0 comments on commit cf3dba8

Please sign in to comment.