/** @import { Metric } from "../metrics/index.js" */ /** * Normalizes Vector `v`. * * @category Matrix * @param {number[] | Float64Array} v - Vector * @param {Metric} metric * @returns {number[] | Float64Array} - The normalized vector with length 1. */ export function normalize(v: number[] | Float64Array, metric?: Metric): number[] | Float64Array; import type { Metric } from "../metrics/index.js"; //# sourceMappingURL=normalize.d.ts.map