Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Matrix-chain problem » ?

Definition 23.7 University Computer Science — Year 1 · Chapitre 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.

Lire dans le chapitre →