| cost_matrix_diagonal_weighted_cpp | R Documentation |
Computes the least cost matrix from a distance matrix. Weights diagonals by a factor of 1.414214 (square root of 2) with respect to orthogonal paths.
cost_matrix_diagonal_weighted_cpp(dist_matrix)
dist_matrix |
(required, distance matrix). Distance matrix. |
Least cost matrix.
Other Rcpp_matrix:
cost_matrix_diagonal_cpp(),
cost_matrix_orthogonal_cpp(),
distance_ls_cpp(),
distance_matrix_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.