- xCostMatrix(
rowsArray: NumberArray,
columnsArray: NumberArray,
options?: XCostMatrixOptions,
): Matrix Parameters
- rowsArray: NumberArray
- columnsArray: NumberArray
- options: XCostMatrixOptions = {}
Returns Matrix
- A matrix instance with dimensions rowsArray.length x columnsArray.length
Generate a cost matrix from two set of values using the function passed. by default it generate the cost matrix of absolute value of differences.