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

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. 

主站蜘蛛池模板: 蓬安县| 静宁县| 庐江县| 五莲县| 长葛市| 临城县| 新竹县| 蕉岭县| 成武县| 达拉特旗| 蒲江县| 砀山县| 清水县| 蓬莱市| 五指山市| 乌拉特中旗| 大化| 汉川市| 昌黎县| 仁寿县| 宜宾市| 化德县| 浦城县| 祥云县| 基隆市| 从化市| 康马县| 昭苏县| 南和县| 长岭县| 栾川县| 礼泉县| 建水县| 达州市| 东兰县| 清涧县| 陇南市| 玛曲县| 保康县| 光泽县| 宜丰县|