全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Matrix-chain problem?

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

在原文中阅读 →