Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Matrix-chain problem?

Definition 23.7 University Computer Science — Year 1 · Capítulo 23 — Dynamic Programming

Multiplying a p×qp \times q matrix by a q×rq \times r matrix takes pqrpqr products of numbers. The matrix-chain problem asks, for matrices A1,…,AnA_1, \dots, A_n of sizes p0×p1,…,pn−1×pnp_0 \times p_1, \dots, p_{n-1} \times p_n, for the order of the products that computes A1⋯AnA_1 \cdots A_n with the fewest products of numbers.

Ler no capítulo →