官术网_书友最值得收藏!

Matrices

Matrices are two-dimensional lists of numbers that contain rows and columns. Typically, rows in a matrix are denoted by i, while columns are denoted by j.

Matrices are represented as:

We can easily create matrices in Python as NumPy arrays, much like we can with vectors:

matrix = np.array([[5,6], [6,9]])

The only different is that we are adding an additional vector to the array to create the matrix. 

主站蜘蛛池模板: 蚌埠市| 庆阳市| 辛集市| 格尔木市| 朝阳区| 余姚市| 榆社县| 深泽县| 互助| 乐昌市| 余庆县| 资兴市| 杨浦区| 乌兰浩特市| 紫金县| 同江市| 桃园市| 潮州市| 文化| 平顶山市| 德惠市| 长治县| 静宁县| 明溪县| 施秉县| 博客| 宜都市| 饶阳县| 平江县| 阿鲁科尔沁旗| 红河县| 南开区| 扎鲁特旗| 黄梅县| 闽侯县| 剑川县| 宁明县| 屏东市| 时尚| 丁青县| 临湘市|