CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
math.ts16 linesDownload Raw Back to utils
1/**2 * @license3 * Copyright 2025 Google LLC4 * SPDX-License-Identifier: Apache-2.05 */6 7/**8 * Linearly interpolates between two values.9 *10 * @param start The start value.11 * @param end The end value.12 * @param t The interpolation amount (typically between 0 and 1).13 */14export const lerp = (start: number, end: number, t: number): number =>15  start + (end - start) * t;16