8 lines
199 B
TypeScript
8 lines
199 B
TypeScript
|
/**
|
||
|
* Returns the average of cosine distances between vectors a and b
|
||
|
* @param a - first vector
|
||
|
* @param b - second vector
|
||
|
*
|
||
|
*/
|
||
|
export declare function cosine(a: number[], b: number[]): number;
|