Solution Exercice 1: matrice numpy à l'aide de la méthode reshape

Exercice 1 A l'aide de la bibliothèque numpy, créer une matrice du type 3x3 formée des entiers 1 , 2 , 3 , ... , 9. Solution

  Younes Derfoufi CRMEF OUJDA

La bibliothèque Mathématique Numpy En Python

Contenu du cours 1 - À propos de la bibliothèque numpy ____1.1 - Qu'est-ce que numpy? ____1.2 Comment installer numpy? 2. Matrice ou tableau avec numpy ____2.1 Syntaxe de création d'une matrice avec numpy ____2.2 Produit terme à terme ____2.3 Produit matriciel ____2.4 Transposition d'une matrice ____2.5 Matrice unitaire ____2.6 Créer une matrice en subdivisant…