ingmuy 发表于 2015-1-20 20:25

mahtematica中的一道计算题

本帖最后由 ingmuy 于 2015-1-20 20:25 编辑

A matrix can be rotated by performing a number of successive operations. Rotate the
matrix {{1,2,3},{4,5,6}} clockwise by 90 degrees, obtaining
{{4,1},{5,2},{6,3}}, in two steps. Use TableForm to display the results.

使用apply,而不是map.
作法如下:

402 发表于 2015-1-21 08:05

好玩的呢
页: [1]
查看完整版本: mahtematica中的一道计算题