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

docs: update function description comments in math/base/special/betaln #2766

Merged
merged 6 commits into from
Aug 8, 2024
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 @@ -27,7 +27,7 @@ extern "C" {
#endif

/**
* Evaluate the natural logarithm of the beta function.
* Evaluates the natural logarithm of the beta function.
*/
double stdlib_base_betaln( const double x, const double y );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var LEN = ALGMCS.length;
// MAIN //

/**
* Evaluate the n-term Chebyshev series at `x`.
* Evaluates the n-term Chebyshev series at `x`.
*
* ## References
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var XMAX = 3.745194030963158e306;
// MAIN //

/**
* Compute the log gamma correction factor for `x >= 10`.
* Computes the log gamma correction factor for `x >= 10`.
*
* ```tex
* \log(\gamma(x)) = \log(\sqrt{2*\Pi}) + (x-0.5) \cdot \log(x) - x \operatorname{R9LGMC}(x).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var correction = require( './gamma_correction.js' );
// MAIN //

/**
* Evaluate the natural logarithm of the beta function.
* Evaluates the natural logarithm of the beta function.
*
* @param {NonNegativeNumber} a - first input value
* @param {NonNegativeNumber} b - second input value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
// MAIN //

/**
* Evaluate the natural logarithm of the beta function.
* Evaluates the natural logarithm of the beta function.
*
* @private
* @param {NonNegativeNumber} a - first input value
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/math/base/special/betaln/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static const double XBIG = 94906265.62425156;
static const double XMAX = 3.745194030963158e306;

/**
* Evaluate the n-term Chebyshev series at `x`.
* Evaluates the n-term Chebyshev series at `x`.
*
* ## References
*
Expand Down Expand Up @@ -90,7 +90,7 @@ static double dceval( const double x ) {
}

/**
* Compute the log gamma correction factor for `x >= 10`.
* Computes the log gamma correction factor for `x >= 10`.
*
* ```tex
* \log(\gamma(x)) = \log(\sqrt{2*\Pi}) + (x-0.5) \cdot \log(x) - x \operatorname{R9LGMC}(x).
Expand All @@ -115,7 +115,7 @@ static double gammaCorrection( const double x ) {
}

/**
* Evaluate the natural logarithm of the beta function.
* Evaluates the natural logarithm of the beta function.
*
* @param a first input value
* @param b second input value
Expand Down
Loading