设E是单位矩阵, k是任何实数,则kE称为数量矩阵。换句话说,数量矩阵就是对角线上元素都是同一个数值,其余元素都是零。
(以50星条旗为例,每行五颗、六颗星星交替排列)对于那些可以方便的排列成矩形的星星数量-像是48颗星,可以排列成为4*8模式-就可直接以矩阵方式排列。
(In the case of the 50-star flag, the rows alternate between six and five stars.) For numbers that conveniently arrange into rectangles—like six rows of eight for 48 stars—a simple matrix suffices.
当你要在这个矩阵列表中选择一个单独的矩阵时,这个分布曲线将显示有一个特殊矩阵值元素的数量。
When you select a single metric in the metric list, the distribution graph will show the number of elements that have a particular metric value.
通过使用这种技术,10 行的矩阵相乘例程可以展开成数百行代码,性能可以提高几个数量级。
Using this technique, a simple 10-line matrix multiply routine could expand to hundreds of lines of code that performs on the order of magnitudes better.
应用推荐