Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
29 changes: 8 additions & 21 deletions lib/node_modules/@stdlib/math/base/special/besselj0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,17 @@ v = j0( NaN );
<!-- eslint no-undef: "error" -->

```javascript
var randu = require( '@stdlib/random/base/randu' );
var j0 = require( '@stdlib/math/base/special/besselj0' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var besselj0 = require( '@stdlib/math/base/special/besselj0' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 10.0;
console.log( 'j0(%d) = %d', x, j0( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'besselj0(%0.4f) = %0.4f', x, besselj0 );
```

</section>
Expand Down Expand Up @@ -191,14 +192,6 @@ int main( void ) {

<section class="related">

* * *

## See Also

- <span class="package-name">[`@stdlib/math/base/special/besselj1`][@stdlib/math/base/special/besselj1]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the first kind of order one.</span>
- <span class="package-name">[`@stdlib/math/base/special/bessely0`][@stdlib/math/base/special/bessely0]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the second kind of order zero.</span>
- <span class="package-name">[`@stdlib/math/base/special/bessely1`][@stdlib/math/base/special/bessely1]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the second kind of order one.</span>

</section>

<!-- /.related -->
Expand All @@ -211,12 +204,6 @@ int main( void ) {

<!-- <related-links> -->

[@stdlib/math/base/special/besselj1]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/besselj1

[@stdlib/math/base/special/bessely0]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/bessely0

[@stdlib/math/base/special/bessely1]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/bessely1

<!-- </related-links> -->

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

'use strict';

var randu = require( '@stdlib/random/base/randu' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var besselj0 = require( './../lib' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 100.0;
console.log( 'besselj0(%d) = %d', x, besselj0( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'besselj0(%0.4f) = %0.4f', x, besselj0 );
29 changes: 8 additions & 21 deletions lib/node_modules/@stdlib/math/base/special/besselj1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,17 @@ v = j1( NaN );
<!-- eslint no-undef: "error" -->

```javascript
var randu = require( '@stdlib/random/base/randu' );
var j1 = require( '@stdlib/math/base/special/besselj1' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var besselj1 = require( '@stdlib/math/base/special/besselj1' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 10.0;
console.log( 'j1(%d) = %d', x, j1( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'besselj1(%0.4f) = %0.4f', x, besselj1 );
```

</section>
Expand Down Expand Up @@ -191,14 +192,6 @@ int main( void ) {

<section class="related">

* * *

## See Also

- <span class="package-name">[`@stdlib/math/base/special/besselj0`][@stdlib/math/base/special/besselj0]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the first kind of order zero.</span>
- <span class="package-name">[`@stdlib/math/base/special/bessely0`][@stdlib/math/base/special/bessely0]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the second kind of order zero.</span>
- <span class="package-name">[`@stdlib/math/base/special/bessely1`][@stdlib/math/base/special/bessely1]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the second kind of order one.</span>

</section>

<!-- /.related -->
Expand All @@ -211,12 +204,6 @@ int main( void ) {

<!-- <related-links> -->

[@stdlib/math/base/special/besselj0]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/besselj0

[@stdlib/math/base/special/bessely0]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/bessely0

[@stdlib/math/base/special/bessely1]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/bessely1

<!-- </related-links> -->

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

'use strict';

var randu = require( '@stdlib/random/base/randu' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var besselj1 = require( './../lib' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 100.0;
console.log( 'besselj1(%d) = %d', x, besselj1( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'besselj1(%0.4f) = %0.4f', x, besselj1 );
29 changes: 8 additions & 21 deletions lib/node_modules/@stdlib/math/base/special/bessely0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,17 @@ v = y0( NaN );
<!-- eslint no-undef: "error" -->

```javascript
var randu = require( '@stdlib/random/base/randu' );
var y0 = require( '@stdlib/math/base/special/bessely0' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var bessely0 = require( '@stdlib/math/base/special/bessely0' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 10.0;
console.log( 'y0(%d) = %d', x, y0( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'bessely0(%0.4f) = %0.4f', x, bessely0 );
```

</section>
Expand Down Expand Up @@ -198,14 +199,6 @@ int main( void ) {

<section class="related">

* * *

## See Also

- <span class="package-name">[`@stdlib/math/base/special/besselj0`][@stdlib/math/base/special/besselj0]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the first kind of order zero.</span>
- <span class="package-name">[`@stdlib/math/base/special/besselj1`][@stdlib/math/base/special/besselj1]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the first kind of order one.</span>
- <span class="package-name">[`@stdlib/math/base/special/bessely1`][@stdlib/math/base/special/bessely1]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the second kind of order one.</span>

</section>

<!-- /.related -->
Expand All @@ -218,12 +211,6 @@ int main( void ) {

<!-- <related-links> -->

[@stdlib/math/base/special/besselj0]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/besselj0

[@stdlib/math/base/special/besselj1]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/besselj1

[@stdlib/math/base/special/bessely1]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/bessely1

<!-- </related-links> -->

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

'use strict';

var randu = require( '@stdlib/random/base/randu' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var bessely0 = require( './../lib' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 100.0;
console.log( 'bessely0(%d) = %d', x, bessely0( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'bessely0(%0.4f) = %0.4f', x, bessely0 );
29 changes: 8 additions & 21 deletions lib/node_modules/@stdlib/math/base/special/bessely1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,17 @@ v = y1( NaN );
<!-- eslint no-undef: "error" -->

```javascript
var randu = require( '@stdlib/random/base/randu' );
var y1 = require( '@stdlib/math/base/special/bessely1' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var bessely1 = require( '@stdlib/math/base/special/bessely1' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 10.0;
console.log( 'y1(%d) = %d', x, y1( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'bessely1(%0.4f) = %0.4f', x, bessely1 );
```

</section>
Expand All @@ -111,14 +112,6 @@ for ( i = 0; i < 100; i++ ) {

<section class="related">

* * *

## See Also

- <span class="package-name">[`@stdlib/math/base/special/besselj0`][@stdlib/math/base/special/besselj0]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the first kind of order zero.</span>
- <span class="package-name">[`@stdlib/math/base/special/besselj1`][@stdlib/math/base/special/besselj1]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the first kind of order one.</span>
- <span class="package-name">[`@stdlib/math/base/special/bessely0`][@stdlib/math/base/special/bessely0]</span><span class="delimiter">: </span><span class="description">compute the Bessel function of the second kind of order zero.</span>

</section>

<!-- /.related -->
Expand All @@ -131,12 +124,6 @@ for ( i = 0; i < 100; i++ ) {

<!-- <related-links> -->

[@stdlib/math/base/special/besselj0]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/besselj0

[@stdlib/math/base/special/besselj1]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/besselj1

[@stdlib/math/base/special/bessely0]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/bessely0

<!-- </related-links> -->

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

'use strict';

var randu = require( '@stdlib/random/base/randu' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var bessely1 = require( './../lib' );

var x;
var i;

for ( i = 0; i < 100; i++ ) {
x = randu() * 100.0;
console.log( 'bessely1(%d) = %d', x, bessely1( x ) );
}
x = uniform( 100, 0.0, 100.0, {
'dtype': 'float64'
});

logEachMap( 'bessely1(%0.4f) = %0.4f', x, bessely1 );
35 changes: 13 additions & 22 deletions lib/node_modules/@stdlib/math/base/special/betainc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,25 @@ var y = betainc( 0.5, 2.0, -2.0 );
<!-- eslint no-undef: "error" -->

```javascript
var randu = require( '@stdlib/random/base/randu' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var betainc = require( '@stdlib/math/base/special/betainc' );

var i;
var x;
var a;
var b;

for ( i = 0; i < 100; i++ ) {
x = randu();
a = randu() * 10.0;
b = randu() * 10.0;
console.log( 'x: %d, \t a: %d, \t b: %d, \t f(x,a,b): %d', x.toFixed( 4 ), a.toFixed( 4 ), b.toFixed( 4 ), betainc( x, a, b ).toFixed( 4 ) );
}
x = uniform( 100, 0.0, 1.0, {
'dtype': 'float64'
});
a = uniform( 100, 0.0, 10.0, {
'dtype': 'float64'
});
b = uniform( 100, 0.0, 10.0, {
'dtype': 'float64'
});

logEachMap( 'x: %0.4f, \t a: %0.4f, \t b: %0.4f, \t f(x,a,b): %0.4f', x, a, b, betainc );
```

</section>
Expand All @@ -126,14 +131,6 @@ for ( i = 0; i < 100; i++ ) {

<section class="related">

* * *

## See Also

- <span class="package-name">[`@stdlib/math/base/special/beta`][@stdlib/math/base/special/beta]</span><span class="delimiter">: </span><span class="description">beta function.</span>
- <span class="package-name">[`@stdlib/math/base/special/betaincinv`][@stdlib/math/base/special/betaincinv]</span><span class="delimiter">: </span><span class="description">inverse incomplete beta function.</span>
- <span class="package-name">[`@stdlib/math/base/special/betaln`][@stdlib/math/base/special/betaln]</span><span class="delimiter">: </span><span class="description">natural logarithm of the beta function.</span>

</section>

<!-- /.related -->
Expand All @@ -146,12 +143,6 @@ for ( i = 0; i < 100; i++ ) {

<!-- <related-links> -->

[@stdlib/math/base/special/beta]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/beta

[@stdlib/math/base/special/betaincinv]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/betaincinv

[@stdlib/math/base/special/betaln]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/betaln

<!-- </related-links> -->

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,22 @@

'use strict';

var randu = require( '@stdlib/random/base/randu' );
var uniform = require( '@stdlib/random/array/uniform' );
var logEachMap = require( '@stdlib/console/log-each-map' );
var betainc = require( './../lib' );

var i;
var x;
var a;
var b;

for ( i = 0; i < 100; i++ ) {
x = randu();
a = randu() * 10.0;
b = randu() * 10.0;
console.log( 'x: %d, \t a: %d, \t b: %d, \t f(x,a,b): %d', x.toFixed( 4 ), a.toFixed( 4 ), b.toFixed( 4 ), betainc( x, a, b ).toFixed( 4 ) );
}
x = uniform( 100, 0.0, 1.0, {
'dtype': 'float64'
});
a = uniform( 100, 0.0, 10.0, {
'dtype': 'float64'
});
b = uniform( 100, 0.0, 10.0, {
'dtype': 'float64'
});

logEachMap( 'x: %0.4f, \t a: %0.4f, \t b: %0.4f, \t f(x,a,b): %0.4f', x, a, b, betainc );
Loading