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.
Array of values that will represent the rows of the cost matrix.
Array of values that will represent the columns of the cost matrix.
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.