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

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. 

主站蜘蛛池模板: 察雅县| 当涂县| 台山市| 邹平县| 佛坪县| 松阳县| 清丰县| 巴南区| 内江市| 方正县| 漳浦县| 砀山县| 依兰县| 甘肃省| 镇远县| 麻城市| 崇明县| 靖边县| 常宁市| 乡宁县| 南岸区| 库尔勒市| 浪卡子县| 临颍县| 南阳市| 定结县| 上虞市| 三台县| 武义县| 垫江县| 唐山市| 开原市| 万源市| 新竹县| 长子县| 三河市| 石城县| 自治县| 富源县| 绥棱县| 惠州市|