Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var tryRequire = require( '@stdlib/utils/try-require' );

var compile = tryRequire( resolve( __dirname, '..', 'lib' ) );
var opts = {
'skip': ( IS_BROWSER || (compile instanceof Error) )
'skip': ( IS_BROWSER || ( compile instanceof Error ) )
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var tryRequire = require( '@stdlib/utils/try-require' );

var compile = tryRequire( resolve( __dirname, '..', 'lib' ) );
var opts = {
'skip': ( IS_BROWSER || (compile instanceof Error) )
'skip': ( IS_BROWSER || ( compile instanceof Error ) )
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var tryRequire = require( '@stdlib/utils/try-require' );

var compile = tryRequire( resolve( __dirname, '..', 'lib' ) );
var opts = {
'skip': ( IS_BROWSER || (compile instanceof Error) )
'skip': ( IS_BROWSER || ( compile instanceof Error ) )
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var tryRequire = require( '@stdlib/utils/try-require' );

var compile = tryRequire( resolve( __dirname, '..', 'lib' ) );
var opts = {
'skip': ( IS_BROWSER || (compile instanceof Error) )
'skip': ( IS_BROWSER || ( compile instanceof Error ) )
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function incrSGDRegression( options ) {
/**
* Update weights given new observations `y` and `x`.
*
* @private
* @param {NumericArray} x - feature vector
* @param {number} y - response value
* @throws {TypeError} first argument must be an array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ logEachMap( 'x: %0.4f, 伪: %0.4f, 尾: %0.4f, ln(F(x;伪,尾)): %0.4f', x, alpha, b

<!-- /.examples -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ logEachMap( 'x: %0.4f, n: %0.4f, p: %0.4f, F(x;n,p): %0.4f', x, n, p, cdf );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ logEachMap( 'n: %0.4f, p: %0.4f, Kurt(X;n,p): %0.4f', n, p, kurtosis );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ logEachMap( 'x: %0.4f, n: %0.4f, p: %0.4f, ln(P(X = x;n,p)): %0.4f', x, n, p, lo

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ logEachMap( 'n: %0.4f, p: %0.4f, E(X;n,p): %0.4f', n, p, mean );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ logEachMap( 't: %0.4f, n: %0.4f, p: %0.4f, M_X(t;n,p): %0.4f', t, n, p, mgf );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ logEachMap( 'r: %0.4f, n: %0.4f, p: %0.4f, Q(r;n,p): %0.4f', r, n, p, quantile )

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ logEachMap( 'n: %0.4f, p: %0.4f, SD(X;n,p): %0.4f', n, p, stdev );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ logEachMap( 'x: %0.4f, c: %0.4f, F(x;c): %0.4f', x, c, cdf );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ logEachMap( 'c: %0.4f, Median(X;c): %0.4f', c, median );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ logEachMap( 'c: %0.4f, mode(X;c): %0.4f', c, mode );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ logEachMap( 'x: %0.4f, c: %0.4f, f(x;c): %0.4f', x, c, pdf );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ logEachMap( 'p: %0.4f, c: %0.4f, Q(p;c): %0.4f', p, c, quantile );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ for ( i = 0; i < x.length; i++ ) {

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ for ( i = 0; i < 25; i++ ) {

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ for ( i = 0; i < 25; i++ ) {

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ for ( i = 0; i < 10; i++ ) {

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ logEachMap( 'k: %d, 位: %0.4f, Kurt(X;k,位): %0.4f', k, lambda, kurtosis );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ logEachMap( 'x: %0.4f, k: %d, 位: %0.4f, ln(f(x;k,位)): %0.4f', x, k, lambda, lo

<!-- /.examples -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ tape( 'if provided `lambda <= 0`, the created function always returns `NaN`', fu
t.end();
});

tape( 'if provided `k` is not a nonnegative integer, the created function always returns `NaN`', function test( t ) {
tape( 'if provided a `k` which is not a nonnegative integer, the created function always returns `NaN`', function test( t ) {
var logpdf;
var y;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ tape( 'if provided `lambda <= 0`, the created function always returns `NaN`', fu
t.end();
});

tape( 'if provided `k` is not a nonnegative integer, the created function always returns `NaN`', function test( t ) {
tape( 'if provided a `k` which is not a nonnegative integer, the created function always returns `NaN`', function test( t ) {
var pdf;
var y;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ logEachMap( 'k: %d, 位: %0.4f, skew(X;k,位): %0.4f', k, lambda, skewness );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ logEachMap( 'k: %d, 位: %0.4f, Var(X;k,位): %0.4f', k, lambda, variance );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ logEachMap( 'x: %0.4f, r: %0.4f, p: %0.4f, F(x;r,p): %0.4f', x, r, p, cdf );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ logEachMap( 'x: %d, r: %0.4f, p: %0.4f, P(X=x;r,p): %0.4f', x, r, p, pmf );

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ logEachMap( 'k: %0.4f, r: %0.4f, p: %0.4f, Q(k;r,p): %0.4f', k, r, p, quantile )

<!-- C interface documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ logEachMap( '渭: %0.4f, 蟽: %0.4f, E(X;渭,蟽): %0.4f', mu, sigma, mean );

<!-- Section to include C API documentation. -->

* * *

<section class="c">

## C APIs
Expand Down
Loading