Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add C implementation for stats/base/dists/uniform/entropy #4021

Merged
merged 5 commits into from
Dec 19, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: update native.js
  • Loading branch information
sethdivyansh committed Dec 18, 2024
commit 444ce3f9aa6b5551b2075a5cf1161f922db8950b
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ var addon = require( './../src/addon.node' );
// MAIN //

/**
* Returns the differential entropy of a uniform distribution.
* Evaluates the entropy of a uniform distribution.
*
* @private
* @param {number} a - minimum support
* @param {number} b - maximum support
* @returns {number} differential entropy
* @returns {number} entropy
*
* @example
* var v = entropy( 0.0, 1.0 );
Expand Down
Loading