You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
296 B

/**
* 给定一个数组, 创建分位数数组
*
* @param arr 排序好的数组
* @param n 分位数数组长度
* @param isSorted 数组是否排序好
* @returns {number[]} 分位数数组
*/
export declare function createQuartile(arr: number[], n: number, isSorted?: boolean): any[];