🌐
Expert Python
expertpython.fr › lexique › linspace()
linspace() - Expert Python
La fonction linspace() est couramment utilisée pour générer des tableaux de nombres uniformément espacés sur un intervalle spécifié.
🌐
Geekflare
geekflare.com › development › numpy linspace() : comment créer des tableaux de nombres régulièrement espacés
NumPy linspace() : Comment créer des tableaux de nombres régulièrement espacés
May 17, 2024 - This tutorial will teach you how to use NumPy linspace() to create an array of evenly spaced numbers in Python—with syntax and example code.
🌐
KooR.fr
koor.fr › Python › API › scientist › numpy › linspace.wp
KooR.fr - Fonction linspace - module numpy - Description de quelques librairies Python
Calcul scientifique avec Python Voir le programme détaillé Module « numpy » · def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, axis=0, *, device=None) Return evenly spaced numbers over a specified interval.
🌐
Très Facile
tresfacile.net › la-methode-numpy-linspace-python
La méthode numpy.linspace() Python – Très Facile
August 10, 2023 - La méthode np.linspace() génère un tableau de valeurs qui sont linéairement espacées entre les valeurs start et stop.
🌐
Cours Python
courspython.com › introduction-pylab.html
Introduction à PyLab — Cours Python
linspace() permet d’obtenir un tableau 1D allant d’une valeur de départ à une valeur de fin avec un nombre donné d’léments.
🌐
DataCamp
datacamp.com › home › tutorials › python › how to use the numpy linspace() function
How to Use the NumPy linspace() Function | DataCamp
April 5, 2024 - If you’re in a hurry, here’s the quickest explanation of the linspace() function. NumPy's linspace() function generates an array of evenly spaced numbers over a defined interval. Here, for example, we create an array that starts at 0 and ends at 100, throughout an interval of 5 numbers.
🌐
LEnsE
lense.institutoptique.fr › mine › python-numpy
Python / Numpy / Premiers pas – LEnsE
La fonction linspace permet de générer un vecteur de taille prédéfinie à partir d’une valeur de début jusqu’à une valeur de fin, selon un pas constant dépendant de l’intervalle et de la taille du vecteur.
🌐
KooR.fr
koor.fr › Python › API › scientist › scipy › linspace.wp
KooR.fr - Fonction linspace - module scipy - Description de quelques librairies Python
Calcul scientifique avec Python Voir le programme détaillé Module « scipy » · def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None, axis=0) scipy.linspace is deprecated and will be removed in SciPy 2.0.0, use numpy.linspace instead ·
🌐
Python-Simple
python-simple.com › python-numpy › sequences-numpy.php
Séquences numpy
numpy.linspace(1, 4, 5) : 5 éléments régulièrement espacés entre 1 et 4, 1 et 4 inclus, donc donne array([1., 1.75, 2.5, 3.25, 4.]).
🌐
Cours Python
courspython.com › apprendre-numpy.html
Introduction à NumPy — Cours Python
numpy.linspace() permet d’obtenir un tableau 1D allant d’une valeur de départ à une valeur de fin avec un nombre donné d’éléments.
Find elsewhere
🌐
DataScientist
datascientist.fr › accueil › blog : actualités et tutoriels data science › créer des tableaux à espacement avec numpy linespace - tutoriel python interactif
Créer des tableaux à espacement avec numpy lines... | DataScientist.fr
January 3, 2025 - Bien que np.linspace() soit principalement utilisé pour créer des plages de nombres à espacement régulier, il existe des méthodes pour générer des plages à espacement irrégulier en combinant cette fonction avec d'autres outils de NumPy.
🌐
Frama
cpge.frama.io › fiches-cpge › Python › 10-Numpy
NumPy - Les fiches CPGE
# Création d'un tableau de 0 à 10 inclue par pas de 1 a = np.linspace(0, 10, 11) print(a) # Création d'un tableau de 0 à 10 inclue par pas de 0.1 a = np.linspace(0, 10, 101) print(a)
🌐
Readthedocs
informatique-python.readthedocs.io › fr › latest › Cours › science.html
6. Bibliothèques numériques de base — Documentation Analyse scientifique avec Python Novembre 2020
>>> a = N.linspace(-1, 1, 5); a array([-1. , -0.5, 0. , 0.5, 1. ]) >>> a >= 0 # Test logique: tableau de booléens array([False, False, True, True, True], dtype=bool) >>> (a >= 0).nonzero() # Indices des éléments ne s'évaluant pas à False (array([2, 3, 4]),) # Indices des éléments >= 0 >>> a[(a >= 0).nonzero()] # Indexation par un tableau d'indices, pas pythonique ...
🌐
Scilab
help.scilab.org › docs › 5.3.3 › en_US › linspace.html
linspace - Vecteur de valeurs équidistantes
Linearly spaced vector. linspace(x1, x2) generates a row vector of n (default value=100) linearly equally spaced points between x1 and x2. If x1 or x2 are complex then linspace(x1,x2) returns a row vector of n complexes, the real (resp. imaginary) parts of the n complexes are linearly equally ...
🌐
CodeRivers
coderivers.org › blog › linspace-in-python
Mastering `linspace` in Python: A Comprehensive Guide - CodeRivers
February 22, 2026 - In the realm of Python programming, especially when dealing with numerical computations, the `linspace` function is a powerful tool. Whether you are working on data analysis, scientific simulations, or machine learning projects, `linspace` can simplify the task of generating evenly spaced sequences of numbers.
🌐
Unistra
mm2act.pages.math.unistra.fr › cours-python › 04-numpy.html
Une introduction à Numpy
Le Python pur est peu performant pour le calcul. Les listes ne sont pas des objets efficaces pour représenter les tableaux numériques de grande taille.
🌐
LabEx
labex.io › tutorials › generating-evenly-spaced-numbers-with-numpy-86473
Tutoriel NumPy Linspace | Nombres régulièrement espacés
To generate an array using numpy.linspace(), you just need to pass in the start, stop and number of samples you want.
🌐
CodeRivers
coderivers.org › blog › python-linspace
Python `linspace`: A Comprehensive Guide - CodeRivers
February 22, 2026 - linspace stands for "linear space". It is a function that generates a sequence of numbers with equal spacing between them over a specified interval. The function is part of the numpy library, which is a fundamental library for numerical computing in Python.
🌐
Codecademy
codecademy.com › docs › python:numpy › built-in functions › .linspace()
Python:NumPy | Built-in Functions | .linspace() | Codecademy
May 26, 2025 - The .linspace() function in NumPy creates an array of evenly spaced numbers over a specified interval.