Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Matrix-chain problem?

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

Baca dalam konteks →