23 lines
491 B
TypeScript
23 lines
491 B
TypeScript
// export R# package module type define for javascript/typescript language
|
|
//
|
|
// imports "Math" from "Darwinism";
|
|
//
|
|
// ref=Darwinism.Math@Darwinism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
|
|
/**
|
|
* math helpers
|
|
*
|
|
*/
|
|
declare namespace Math {
|
|
/**
|
|
* measure the average distance for the given dataset
|
|
*
|
|
*
|
|
* @param x -
|
|
* @param env -
|
|
*
|
|
* + default value Is ``null``.
|
|
*/
|
|
function average_distance(x: any, env?: object): number;
|
|
}
|