UNPKG

ml-distance

Version:

Distance and similarity functions to compare vectors

9 lines 299 B
import { NumberArray } from 'cheminfo-types'; /** * Returns the average of city block and Chebyshev distances between vectors a and b * @param a - first vector * @param b - second vector * */ export default function avg(a: NumberArray, b: NumberArray): number; //# sourceMappingURL=avg.d.ts.map