Function mcm_opt_report

Function Documentation

status_t mcm_opt_report(const struct mcm_optimizer *mcm, size_t *ordering)

Report the results of chain order optimization via filling an array of integers with the indices of the matrix chain (0 for p[0], 1 for p[1], etc.).

Parameters:
  • mcm – The MCM handle

  • ordering – Array to be filled with indices of optimal multiplication

Returns:

status_t