Function mcm_opt_init

Function Documentation

status_t mcm_opt_init(struct mcm_optimizer *mcm, const size_t *matrices, size_t size)

Initialize a Matrix Chain Multiplication (MCM) optimizer.

Parameters:
  • mcm – The MCM to initialize

  • size – # of input matrices -1.

  • matrices – The matrix chain, but 0 indexed instead of 1 indexed.

Returns:

status_t