Update Matrix.md

This commit is contained in:
Didictateur 2023-10-22 16:49:40 +02:00 committed by GitHub
parent f1491d5010
commit 1aeeab06ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,14 +16,14 @@ Matrix(l: list[list[complexe]])
### Methodes
- __init__(self, l: list[list[complex]]=[]) -> None
- ```__init__(self, l: list[list[complex]]=[]) -> None```
initiates the matrix
- __mul__(self, __value: "Matrix") -> Matrix
- ```__mul__(self, __value: "Matrix") -> Matrix```
defines the natural multiplication as the Koeneger product for matrices
- __apply(self, x: list[complex]) -> list[complex]
- ```__apply(self, x: list[complex]) -> list[complex]```
takes a list to represent a vector in a colonne, and return the proctuct of the matrix by this vector