## Usage
```javascript
var triangular = require( '@stdlib/stats/base/dists/triangular' );
```
#### triangular
Triangular distribution.
```javascript
var dist = triangular;
// returns {...}
```
The namespace contains the following distribution functions:
- [`cdf( x, a, b, c )`][@stdlib/stats/base/dists/triangular/cdf]: triangular distribution cumulative distribution function.
- [`logcdf( x, a, b, c )`][@stdlib/stats/base/dists/triangular/logcdf]: triangular distribution logarithm of cumulative distribution function.
- [`logpdf( x, a, b, c )`][@stdlib/stats/base/dists/triangular/logpdf]: triangular distribution logarithm of probability density function (PDF).
- [`mgf( t, a, b, c )`][@stdlib/stats/base/dists/triangular/mgf]: triangular distribution moment-generating function (MGF).
- [`pdf( x, a, b, c )`][@stdlib/stats/base/dists/triangular/pdf]: triangular distribution probability density function (PDF).
- [`quantile( p, a, b, c )`][@stdlib/stats/base/dists/triangular/quantile]: triangular distribution quantile function.
The namespace contains the following functions for calculating distribution properties:
- [`entropy( a, b, c )`][@stdlib/stats/base/dists/triangular/entropy]: triangular distribution differential entropy.
- [`kurtosis( a, b, c )`][@stdlib/stats/base/dists/triangular/kurtosis]: triangular distribution excess kurtosis.
- [`mean( a, b, c )`][@stdlib/stats/base/dists/triangular/mean]: triangular distribution expected value.
- [`median( a, b, c )`][@stdlib/stats/base/dists/triangular/median]: triangular distribution median.
- [`mode( a, b, c )`][@stdlib/stats/base/dists/triangular/mode]: triangular distribution mode.
- [`skewness( a, b, c )`][@stdlib/stats/base/dists/triangular/skewness]: triangular distribution skewness.
- [`stdev( a, b, c )`][@stdlib/stats/base/dists/triangular/stdev]: triangular distribution standard deviation.
- [`variance( a, b, c )`][@stdlib/stats/base/dists/triangular/variance]: triangular distribution variance.
The namespace contains a constructor function for creating a [triangular][triangular-distribution] distribution object.
- [`Triangular( [a, b, c] )`][@stdlib/stats/base/dists/triangular/ctor]: triangular distribution constructor.
```javascript
var Triangular = require( '@stdlib/stats/base/dists/triangular' ).Triangular;
var dist = new Triangular( 2.0, 4.0, 3.0 );
var y = dist.quantile( 0.5 );
// returns 3.0
y = dist.quantile( 1.9 );
// returns NaN
```