Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
No EOL
1.1 KiB
Text
28 lines
No EOL
1.1 KiB
Text
/**
|
|
* Interpolates the y value at a point x on the line defined by (x0, y0) and (x1, y1)
|
|
* @param {number} x0
|
|
* @param {number} y0
|
|
* @param {number} x1
|
|
* @param {number} y1
|
|
* @param {number} x
|
|
* @return {number}
|
|
*/
|
|
export function linearInterpolation(x0: number, y0: number, x1: number, y1: number, x: number): number;
|
|
/**
|
|
* Returns the score (1 - percentile) of `value` in a log-normal distribution
|
|
* specified by the `median` value, at which the score will be 0.5, and a 10th
|
|
* percentile value, at which the score will be 0.9. The score represents the
|
|
* amount of the distribution greater than `value`. All values should be in the
|
|
* same units (e.g. milliseconds). See
|
|
* https://www.desmos.com/calculator/o98tbeyt1t
|
|
* for an interactive view of the relationship between these parameters and the
|
|
* typical parameterization (location and shape) of the log-normal distribution.
|
|
* @param {{median: number, p10: number}} parameters
|
|
* @param {number} value
|
|
* @return {number}
|
|
*/
|
|
export function getLogNormalScore({ median, p10 }: {
|
|
median: number;
|
|
p10: number;
|
|
}, value: number): number;
|
|
//# sourceMappingURL=statistics.d.ts.map |