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

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. 

主站蜘蛛池模板: 田林县| 宜君县| 陕西省| 通化县| 合肥市| 项城市| 鹤壁市| 淄博市| 马鞍山市| 克山县| 手机| 兴仁县| 淮北市| 深水埗区| 宝鸡市| 兴义市| 隆尧县| 巴中市| 漠河县| 利川市| 石林| 海宁市| 富民县| 隆化县| 丹东市| 定边县| 龙岩市| 上思县| 磐石市| 丽江市| 嘉定区| 永修县| 夏津县| 安阳县| 巴东县| 宜州市| 内江市| 井研县| 江油市| 青川县| 团风县|