Main public logs
Jump to navigation
Jump to search
Combined display of all available logs of Wikibase. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 07:14, 15 October 2026 Rongzhou talk contribs created page Matrix (Created page with "== Matrice operations in python == === Initialisation === <syntaxhighlight lang=python copy> import numpy as np # import numpy </syntaxhighlight> The matrices are to be inputted as 2D numpy arrays, so: $$ \forall a_{ij} \in \mathbf{A}, \text{a[i][j]}=a_{ij} $$ For example, to initialise the identity matrice $\mathbf{I}_3$: $$ I=\begin{pmatrix}1&0&0\\0&1&0\\0&0&1\end{pmatrix} $$ <syntaxhighlight lang=python copy> I=np.array([[1,0,0],[0,1,0],[0,0,1]]) </syntaxhighli...")